CVE-2026-137513
justhtml before 3.17.0 Denial of Service via Unicode Digit Numeric Entity
High · 8.7Fix available
- CVSS
- 8.7
- EPSS
- 0.65% (p46)
- Published
- 2026-11-26
- Age
- 2d old
- Modified
- 2026-11-27
- Product
- EmilStenstrom justhtml
- Aliases
- GHSA-6cr7-h2q7-28p7
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
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.
Fixed in
3.17.0
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | justhtml | >=0, <3.17.0 | 3.17.0 |
Sources
- NVD · first seen 2d ago · NVD terms of use
- OSV · first seen 2d ago · CC-BY 4.0
- CVE List · first seen 2d ago · CVE Terms of Use
References
- https://github.com/EmilStenstrom/justhtml/security/advisories/GHSA-6cr7-h2q7-28p7 vendor-advisory
- https://www.vulncheck.com/advisories/justhtml-before-3.17.0-denial-of-service-via-unicode-digit-numeric-entity third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137513.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-137513 advisory