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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-9769— justhtml before 1.10.0 Denial of Service via deeply nested HTML

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.9.1 及之前(已在 1.10.0 中修复)存在因不受控递归导致的拒绝服务漏洞。在 JustHTML() 构造过程中,TreeBuilder.finish() 无条件地调用 _populate_selectedcontent(),后者通过 _find_elements()/_find_element() 无深度限制地递归遍历 DOM 树。攻击者若能提供待解析的 HTML 输入,可通过构造深层嵌套的元素(例如约 1000 层嵌套的 标签,大小约 11 KB)来超过 CPython 默认的递

CVSS 7.5 · High

Possible ATT&CK Techniques 1 AI

T1496 · Resource Hijacking

Affected Version Matrix 2

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

I. Basic Information for CVE-2026-9769

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.10.0 Denial of Service via deeply nested HTML
Source: CVE Program / CVE List V5
Vulnerability Description
justhtml through 1.9.1 (fixed in 1.10.0) is vulnerable to uncontrolled recursion leading to denial of service. During JustHTML() construction, TreeBuilder.finish() unconditionally calls _populate_selectedcontent(), which recursively traverses the DOM tree via _find_elements()/_find_element() without a depth bound. An attacker who can supply HTML for parsing can provide deeply nested elements (e.g., ~1000 nested <div> tags, roughly 11 KB) to exceed CPython's default recursion limit and trigger an unhandled RecursionError, which may abort parsing, fail requests, or terminate a worker/process depending on the host application's exception handling.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/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.10.0 -

II. Public POCs for CVE-2026-9769

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 7127 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-9769

登录查看更多情报信息。

Vendor Advisories for CVE-2026-9769 (1)

News Coverage for CVE-2026-9769 (1)

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

CVE-2026-7808 9.8 CRITICAL justhtml before 1.16.0 Multiple Security Issues via Sanitization
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-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-9769

No comments yet


Leave a comment