Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-137513: high-severity vulnerability (CVSS 8.7) in EmilStenstrom justhtml.
What happened
Original description from the source: 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.
Why it matters
High severity, CVSS 8.7.
Affected products and versions
EmilStenstrom justhtml < 3.17.0; EmilStenstrom justhtml 3.17.0 (fixed in 3.17.0)
| Product | Versions | Fixed in |
|---|---|---|
| EmilStenstrom justhtml | < 3.17.0 | — |
| EmilStenstrom justhtml | 3.17.0 | 3.17.0 |
Action recommended by the source
Upgrade to a fixed version: 3.17.0.
Fixed in: 3.17.0
Sources and references
- https://github.com/EmilStenstrom/justhtml/security/advisories/GHSA-6cr7-h2q7-28p7 — CVE Program
- https://www.vulncheck.com/advisories/justhtml-before-3.17.0-denial-of-service-via-unicode-digit-numeric-entity — CVE Program
Weaknesses (CWE): CWE-241
Relevant change history
Published
Preliminary advisory published.