justhtml versions 1.13.0 and earlier contain a parser-differential / mutation cross-site scripting (mXSS) vulnerability when using a custom SanitizationPolicy that preserves foreign namespaces (e.g., drop_foreign_namespaces=False with allowlisted SVG/MathML elements or raw-text containers such as ). Specially crafted input can sanitize into markup that appears safe but becomes unsafe when re-parsed by a browser or another HTML parser, allowing markup injection. The default safe configuration (sanitize=True) is not affected. Fixed in 1.14.0.
CVE-2026-5751
Score 6.1 from GitHub Security Advisory published 2026-08-23. A secondary CVSS source baseline 6.1; sources differ by 0.0.
- Lower severity and no public exploit yet
A fix is available — apply it.
- CVSS v3
- 6.1
- EG Score
- 6.1MEDIUMmedium confidence
- EG Risk
- 28EG Risk 28/100CISA SSVC
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity61% × 45%Exploitation0% × 40%Automatability0% × 15%CISA SSVC: Track at every mission impact level.Action: A fix is available. Apply it within your standard update timelines. - EPSS PROB
- 0.3%
- EPSS %ILE
- 16th
- KEV
- Not listed
CISA SSVCTrack at every mission impact level.
A fix is available. Apply it within your standard update timelines.
Exploitation none (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact partial (CISA Vulnrichment). Mission impact is CISA's Mission & Well-being decision point, and only you can judge it: high means the affected system is essential to your organisation's mission, or its compromise could cause irreversible harm to people. CISA's decision table
Published
August 23, 2026
Last Modified
August 26, 2026
Advisory Details (2)
Auto-updated Aug 23, 2026justhtml before 1.14.0 Mutation XSS via custom sanitization policies | Advisories | VulnCheck
https://www.vulncheck.com/advisories/justhtml-before-mutation-xss-via-custom-sanitization-policiesMutation XSS with custom foreign-namespace sanitization policies · Advisory · EmilStenstrom/justhtml · GitHub
https://github.com/EmilStenstrom/justhtml/security/advisories/GHSA-r758-8hxw-4845Vendor Advisories for CVE-2026-5751(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
PyPI(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| justhtml | 1.13.0 |
| — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 21× in last 7d / 80× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 130 total refreshes for this CVE.
- 2026-10-10 20:00 UTCEPSS rescore
- 2026-10-10 14:21 UTCEG score recompute
- 2026-10-10 14:21 UTCGHSA enrichment
- 2026-10-09 20:07 UTCEPSS rescore
- 2026-10-09 08:20 UTCEG score recompute
- 2026-10-09 08:20 UTCGHSA enrichment
- 2026-10-08 17:13 UTCEPSS rescore
- 2026-10-08 08:20 UTCEG score recompute
- 2026-10-08 08:20 UTCGHSA enrichment
- 2026-10-07 23:48 UTCEPSS rescore
- 2026-10-07 07:48 UTCEG score recompute
- 2026-10-07 07:48 UTCGHSA enrichment
- 2026-10-06 15:18 UTCEPSS rescore
- 2026-10-06 07:47 UTCEG score recompute
- 2026-10-06 07:47 UTCGHSA enrichment
- 2026-10-05 17:43 UTCEPSS rescore
- 2026-10-05 07:33 UTCEG score recompute
- 2026-10-05 07:33 UTCGHSA enrichment
- 2026-10-04 23:22 UTCEPSS rescore
- 2026-10-04 07:22 UTCEG score recompute
- 2026-10-04 07:22 UTCGHSA enrichment
- 2026-10-03 14:26 UTCEPSS rescore
- 2026-10-03 07:22 UTCEG score recompute
- 2026-10-03 07:22 UTCGHSA enrichment
- 2026-10-02 17:56 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-10-02 07:21 UTCEG score recompute
- 2026-10-02 07:21 UTCGHSA enrichment
- 2026-10-01 19:50 UTCEPSS rescore
- 2026-10-01 07:22 UTCEG score recompute
- 2026-10-01 07:22 UTCGHSA enrichment
- 2026-09-30 15:03 UTCEPSS rescore
- 2026-09-30 07:22 UTCEG score recompute
- 2026-09-30 07:22 UTCGHSA enrichment
- 2026-09-29 01:44 UTCEG score recompute
- 2026-09-29 01:44 UTCGHSA enrichment
- 2026-09-28 13:51 UTCEPSS rescore
- 2026-09-28 00:53 UTCEG score recompute
- 2026-09-28 00:53 UTCGHSA enrichment
- 2026-09-27 00:53 UTCEG score recompute
- 2026-09-27 00:52 UTCGHSA enrichment
- 2026-09-26 15:59 UTCEPSS rescore
- 2026-09-25 01:43 UTCEG score recompute
- 2026-09-25 01:43 UTCGHSA enrichment
- 2026-09-24 14:04 UTCEPSS rescore
- 2026-09-24 01:43 UTCEG score recompute
- 2026-09-24 01:43 UTCGHSA enrichment
- 2026-09-23 17:54 UTCEPSS rescore
- 2026-09-23 01:43 UTCEG score recompute
- 2026-09-23 01:43 UTCGHSA enrichment
- 2026-09-22 01:43 UTCEG score recompute
- 2026-09-22 01:43 UTCGHSA enrichment
- 2026-09-21 01:43 UTCEG score recompute
- 2026-09-21 01:43 UTCGHSA enrichment
- 2026-09-20 20:16 UTCEPSS rescore
- 2026-09-20 01:36 UTCEG score recompute
- 2026-09-20 01:36 UTCGHSA enrichment
- 2026-09-19 01:35 UTCEG score recompute
- 2026-09-19 01:35 UTCGHSA enrichment
- 2026-09-18 19:28 UTCEPSS rescore
- 2026-09-18 01:36 UTCEG score recompute
- 2026-09-18 01:36 UTCGHSA enrichment
- 2026-09-17 19:31 UTCEPSS rescore
- 2026-09-17 01:36 UTCEG score recompute
- 2026-09-17 01:36 UTCGHSA enrichment
- 2026-09-16 14:08 UTCEPSS rescore
- 2026-09-16 05:15 UTCEPSS rescore
- 2026-09-16 01:36 UTCEG score recompute
- 2026-09-16 01:36 UTCGHSA enrichment
- 2026-09-15 03:11 UTCEPSS rescore
- 2026-09-15 01:36 UTCGHSA enrichment
- 2026-09-14 01:36 UTCEG score recompute
- 2026-09-14 01:36 UTCGHSA enrichment
- 2026-09-13 16:47 UTCEPSS rescore
- 2026-09-13 01:36 UTCEG score recompute
- 2026-09-13 01:36 UTCGHSA enrichment
- 2026-09-12 01:36 UTCEG score recompute
- 2026-09-12 01:36 UTCGHSA enrichment
- 2026-09-11 14:53 UTCEPSS rescore
- 2026-09-11 01:36 UTCEG score recompute
- 2026-09-11 01:36 UTCGHSA enrichment
- 2026-09-10 09:35 UTCEPSS rescore
- 2026-09-10 01:36 UTCGHSA enrichment
- 2026-09-09 01:36 UTCEG score recompute
- 2026-09-09 01:36 UTCGHSA enrichment
- 2026-09-08 22:01 UTCEPSS rescore
- 2026-09-07 21:11 UTCEG score recompute
- 2026-09-07 21:11 UTCGHSA enrichment
- 2026-09-07 16:01 UTCEPSS rescore
- 2026-09-06 21:11 UTCEG score recompute
- 2026-09-06 21:11 UTCGHSA enrichment
- 2026-09-06 13:47 UTCEPSS rescore
- 2026-09-05 21:03 UTCEG score recompute
- 2026-09-05 21:03 UTCGHSA enrichment
- 2026-09-04 21:04 UTCEG score recompute
- 2026-09-04 21:04 UTCGHSA enrichment
- 2026-09-04 05:07 UTCEPSS rescore
- 2026-09-03 20:52 UTCGHSA enrichment
- 2026-09-02 20:51 UTCEG score recompute
- 2026-09-02 20:51 UTCGHSA enrichment
- 2026-09-02 14:12 UTCEPSS rescore
Related CVEs(same product + same CWE)
Same product
9 shownPyPI:justhtml
Frequently asked(5)
What is CVE-2026-5751?
When was CVE-2026-5751 disclosed?
Is CVE-2026-5751 actively exploited?
What is the CVSS score of CVE-2026-5751?
How do I remediate CVE-2026-5751?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-5751
Is Your Infrastructure Affected by CVE-2026-5751?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.