Vulnerability

CVE-2026-5751

mediumCVSS 4.0 5.1Published 23 Aug 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /EmilStenstrom/justhtml/security/advisories/GHSA-r758-8hxw-…
  • www.vulncheck.com /advisories/justhtml-before-mutation-xss-via-custom-sanitiz…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning