justhtml before 3.17.0 Denial of Service via Unicode Digit Numeric Entity
- State
- Published
- Severity
- 8.7 High
- Published
- Nov 26, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 26, 2026
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.
| Product | Versions |
|---|---|
| justhtml EmilStenstrom | before 3.17.0 Affected3.17.0 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.7 High | VulnCheck | |
| 3.1 | 7.5 High | VulnCheck |
Weaknesses
- CWE-241 Improper Handling of Unexpected Data Type
References
- GitHub Security Advisory (GHSA-6cr7-h2q7-28p7)Vendor Advisory
- VulnCheck Advisory: justhtml before 3.17.0 Denial of Service via Unicode Digit Numeric EntityThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.