high8.7
CVE-2026-137513
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-ASC…
Impact
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.
An attacker can exploit this over the network, without logging in, without any action by a user. If it succeeds: high risk of outages.
Affected products (EmilStenstrom)
| Product | Affected versions |
|---|---|
| Justhtml | before 3.17.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/EmilStenstrom/justhtml/security/advisories/GHSA-6cr7-h2q7-28p7
- https://www.vulncheck.com/advisories/justhtml-before-3.17.0-denial-of-service-via-unicode-digit-numeric-entity
- https://github.com/advisories/GHSA-5jx8-v7x3-xjh5
- https://nvd.nist.gov/vuln/detail/CVE-2026-137513