Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-7808— justhtml before 1.16.0 Multiple Security Issues via Sanitization

Quick assessment

Affected
EmilStenstrom justhtml
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

JustHTML 在 1.16.0 版本之前存在多个 HTML 净化(sanitization)绕过漏洞,这些漏洞可能导致活跃的/危险的内容(例如 script 或 style)在净化后依然存在,从而可能引发跨站脚本攻击(XSS)。这些问题主要影响高级用法,而非默认路径 JustHTML(..., sanitize=True) 用于普通解析 HTML 的情况: 变异或复用净化策略对象(包括导出的默认策略),可能导致后续的净化能力被削弱; 通过编程方式向 sanitize()/sanitize_dom() 输入 DO

CVSS 9.8 · Critical EPSS 0.35% · P28

Affected Version Matrix 2

VendorProduct Version RangeStatus
EmilStenstrom justhtml < 1.16.0 affected
1.16.0 unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-7808

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
justhtml before 1.16.0 Multiple Security Issues via Sanitization
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
输入验证不恰当
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
EmilStenstrom justhtml 0 ~ 1.16.0 -

II. Public POCs for CVE-2026-7808

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 10288 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-7808

登录查看更多情报信息。

Vendor Advisories for CVE-2026-7808 (2)

Same Patch Batch · EmilStenstrom · 2026-08-23 · 11 CVEs total

CVE-2026-8445 9.8 CRITICAL justhtml before 1.12.0 Sanitizer Bypass via Markdown
CVE-2026-5388 9.8 CRITICAL justhtml before 1.15.0 Multiple Security Issues
CVE-2026-9769 7.5 HIGH justhtml before 1.10.0 Denial of Service via deeply nested HTML
CVE-2026-4671 7.5 HIGH justhtml before 1.18.0 Denial of Service via CSS Selector
CVE-2026-77088 6.1 MEDIUM justhtml 0.9.0 through 1.21.0 Cross-Site Scripting via code-span
CVE-2026-74793 6.1 MEDIUM justhtml before 3.11.0 XSS via selectedcontent projection
CVE-2026-6827 6.1 MEDIUM justhtml before 1.17.0 Multiple Cross-Site Scripting Vulnerabilities
CVE-2026-8630 6.1 MEDIUM justhtml before 1.12.0 Mutation XSS via Raw Text Elements
CVE-2026-5751 6.1 MEDIUM justhtml before 1.14.0 Mutation XSS via custom sanitization policies
CVE-2026-5389 6.1 MEDIUM justhtml before 1.13.0 XSS via code fence breakout

IV. Related Vulnerabilities

V. Comments for CVE-2026-7808

No comments yet


Leave a comment