CVE-2026-5751
Last modified
CVE-2026-5751 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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 <style>). 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. EPSS estimates a 0.19% chance of exploitation in the next 30 days.
Description
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 <style>). 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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| EmilStenstrom | justhtml | < 1.14.0 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-5751?
How severe is CVE-2026-5751?
How do I fix CVE-2026-5751?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-57495AgenticMail gives AI agents real email addresses and phone n…8.2
- CVE-2026-57497webtransport-go is an implementation of the WebTransport pro…5.3
- CVE-2026-57498Coolify is an open-source and self-hostable tool for managin…9.6
- CVE-2026-57499Liman is open source server management software. Prior to 2.…9.1
- CVE-2026-5750An insecure direct object reference (IDOR) vulnerability in …7.6
- CVE-2026-57501Zen is a firefox-based browser. Prior to 1.21.5b, Zen's glan…0
- CVE-2026-57510SuperPlane before 0.27.0 contains a broken object-level auth…8.8
- CVE-2026-57511SuperPlane before 0.30.0 contains an SMTP header injection v…6.3
- CVE-2026-57516Ray prior to 2.56.0 contains an unsafe deserialization vulne…8.8
- CVE-2026-57517Control Web Panel before 0.9.8.1225 contains a blind SQL inj…9.8
- CVE-2026-57518Pagekit CMS 1.0.18 contains a privilege escalation vulnerabi…8.8
- CVE-2026-5752Sandbox Escape Vulnerability in Terrarium allows arbitrary c…9.3
Are you affected by CVE-2026-5751?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
