Medium severity6.1OSV Advisory· Published Aug 23, 2026· Updated Aug 26, 2026
CVE-2026-5751
CVE-2026-5751
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 ). 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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
2v1.13.0, v1.12.0, v1.11.0, …+ 1 more
- (no CPE)range: v1.13.0, v1.12.0, v1.11.0, …
- (no CPE)range: <=1.13.0
Patches
Vulnerability mechanics
References
2News mentions
0No linked articles in our index yet.