{"id":"CVE-2026-7808","published":"2026-08-23T13:34:13Z","modified":"2026-08-24T18:14:27Z","title":"justhtml before 1.16.0 Multiple Security Issues via Sanitization","vendor":"EmilStenstrom","product":"justhtml","tier":"tail","description":{"text":"justhtml before 1.16.0 contains multiple HTML sanitization bypass issues that can allow active/dangerous content (e.g., script or style) to survive sanitization, potentially leading to cross-site scripting. The issues primarily affect advanced usage rather than the default JustHTML(..., sanitize=True) path for ordinary parsed HTML: mutating or reusing sanitization policy objects (including exported defaults) could weaken later sanitization; programmatic DOM input to sanitize()/sanitize_dom() could miss mixed-case tag names (e.g., ScRiPt, StYlE); crafted programmatic doctype names could serialize into active markup; and custom policies preserving SVG or MathML could allow animation elements, presentation attributes with external url(...) references, or DOM trees mislabeled as namespace=\"html\" to bypass foreign-content checks. Fixed in 1.16.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00587,"percentile":0.48988,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://github.com/EmilStenstrom/justhtml/security/advisories/GHSA-4p64-v8f5-r2gx","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/justhtml-before-multiple-security-issues-via-sanitization","tags":["third-party-advisory"]}],"priority":{"score":16.7,"factors":[{"name":"EPSS percentile","points":9.8},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"emilstenstrom","affectedVersions":[{"vendor":"EmilStenstrom","product":"justhtml","versions":["< 1.16.0"]}],"fixedVersions":[{"vendor":"EmilStenstrom","product":"justhtml","versions":["1.16.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-08-24T18:14:13.443990Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-64658","exploited":false,"provenance":"source"}}