Denial of servicein EmilStenstrom justhtml.
Proof of concept public (CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks. assessment).
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.
- Upgrade justhtml to 1.10.0 or later.
- Upgrade justhtml (PyPI) to 1.10.0 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 27 May 2026CVE ID reserved by VulnCheck.
- 23 Aug 2026Published in the CVE List.
- 24 Aug 2026CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (CISA assessment). CISA assessment (SSVC): exploitation poc.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other justhtml vulnerabilities
Same weakness: Uncontrolled recursion
- github.com vendor-advisory
- www.vulncheck.com third-party-advisory
Patchminder. CVE-2026-9769: Denial of service in EmilStenstrom justhtml. https://patchminder.com/cve/cve-2026-9769/ (accessed 5 December 2026).