Skip to main content
VulnerabilityPublished Updated

CVE-2026-9769: EmilStenstrom justhtml · Uncontrolled Recursion

Affects EmilStenstrom justhtmlSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 8.7 High : upgrade to 1.10.0 soon.

Data as of 21 Nov 2026, 17:35 UTC

CVSS 4.0 base score
8.7High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 27% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.10.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 23 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 21 Nov 2026.

What to do

Upgrade EmilStenstrom justhtml to 1.10.0.

Affected software

ProductAffectedFixed in
EmilStenstromjusthtmlAffected
  • <1.10.0
Fixed in
  • 1.10.0
PyPIjusthtmlpkg:pypi/justhtmlOther threatsAffected
  • <1.10.0
Fixed in
  • 1.10.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in justhtml version 1.10.0. Users should upgrade to version 1.10.0 or later to remediate this vulnerability. No other mitigation guidance is provided.

Description

justhtml versions prior to 1.10.0 contain an uncontrolled recursion vulnerability that can lead to denial of service. The issue arises during the construction of JustHTML() where TreeBuilder.finish() calls _populate_selectedcontent(), which recursively traverses the DOM tree without limiting recursion depth. An attacker supplying deeply nested HTML elements can exceed Python's recursion limit, causing a RecursionError that may abort parsing or terminate processes depending on exception handling.

References

Community reviews

Loading reviews…