CVE-2026-7808
Last modified
CVE-2026-7808 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 0.59% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| EmilStenstrom | justhtml | < 1.16.0 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-7808?
How severe is CVE-2026-7808?
How do I fix CVE-2026-7808?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-78074Joomla Extension - miniorgange.com - Unauthenticated arbitra…8.8
- CVE-2026-78075Joomla Extension - joomshaper.com - Broken Object-Level Auth…5.1
- CVE-2026-78076Joomla Extension - joomshaper.com - Broken Access Control & …5.1
- CVE-2026-78077Joomla Extension - joomshaper.com - Stored Cross-Site Scrip…8.6
- CVE-2026-78078Joomla Extension - joomshaper.com - Privileged File Upload B…8.9
- CVE-2026-78079Joomla Extension - joomshaper.com - Open Redirect via Base64…5.3
- CVE-2026-78080Joomla Extension - feenders.de - Unauthenticated SQL injecti…9.3
- CVE-2026-78081Joomla Extension - j2commerce.com - Missing CSRF protection …7.1
- CVE-2026-78082Joomla Extension - joomshaper.com - Unauthenticated SQL Inje…9.3
- CVE-2026-78083Joomla Extension - joomshaper.com - Missing CSRF Token Verif…7.1
- CVE-2026-78084Joomla Extension - joomshaper.com - Missing Access Control i…6.9
- CVE-2026-78085Joomla Extension - joomshaper.com - Path Traversal in Galler…6.9
Are you affected by CVE-2026-7808?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
