{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-5751","published":"2026-08-23T14:16:53.807000Z","last_modified":"2026-10-12T16:10:00.220000Z","status":"Deferred","cvss":{"version":"4.0","score":5.1,"severity":"MEDIUM","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"disclosure@vulncheck.com","primary":false},"auth":false,"cwes":["CWE-79"],"cpes":[],"cpes_truncated":false,"vendors":["emilstenstrom"],"products":["emilstenstrom/justhtml"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-r758-8hxw-4845","ecosystem":"PyPI","name":"justhtml","purl":"pkg:pypi/justhtml","ranges":[{"introduced":"1.13.0","fixed":"1.14.0"}],"versions":["1.13.0"],"versions_truncated":false}],"severity":"medium","priority_score":46,"links":{"html_es":"/es/cve/CVE-2026-5751/","html_en":"/en/cve/CVE-2026-5751/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-5751","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-5751"},"untrusted":{"vendor_name":"EmilStenstrom","product_name":"justhtml","desc_en":"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":[{"untrusted_vendor":"EmilStenstrom","untrusted_product":"justhtml","versions":[]}],"references":[{"url":"https://github.com/EmilStenstrom/justhtml/security/advisories/GHSA-r758-8hxw-4845","tags":[]},{"url":"https://www.vulncheck.com/advisories/justhtml-before-mutation-xss-via-custom-sanitization-policies","tags":[]}]}}