CVE-2026-137513
justhtml before 3.17.0 Denial of Service via Unicode Digit Numeric Entity
8.7
Description
justhtml before 3.17.0 contains a denial of service vulnerability in decode_entities_in_text that allows unauthenticated attackers to crash parsing via non-ASCII Unicode digits in numeric character references. Attackers can submit a payload like &#² in HTML text or attributes, causing an uncaught ValueError from int() that aborts JustHTML() and stream() parsing.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| justhtml | emilstenstrom | 0 → <3.17.0 | 3.17.0 | CVE.org |