MEDIUM 5.1 NVD
CVE-2026-5751
justhtml versions 1.13.0 and earlier contain a parser-differential / mutation cross-site scripting (mXSS) vulnerability when using a custom SanitizationPolicy t
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.
References
- https://github.com/EmilStenstrom/justhtml/security/advisories/GHSA-r758-8hxw-4845
- https://www.vulncheck.com/advisories/justhtml-before-mutation-xss-via-custom-sanitization-
This medium severity vulnerability with a CVSS score of 5.1 was published on 2026-08-23 via NVD.
vulnfeed aggregates 10855 vulnerabilities from NVD, CISA KEV,
Ubuntu, Debian, Red Hat, Kubernetes, Exploit-DB, OSS-Security, GitHub and OpenStack — updated every 4 hours.