What is CVE-2026-137513?
CVE-2026-137513 is a high-severity vulnerability in EmilStenstrom justhtml, published on 26 Nov 2026.
Official 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.
Weakness: CWE-241
How severe is CVE-2026-137513?
CVE-2026-137513 scores 8.7 out of 10 under CVSS 4.0, which is high severity. It was scored by VulnCheck.
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- None
- Privileges required
- None
- User interaction
- None
- Confidentiality
- None
- Integrity
- None
- Availability
- High
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
Which versions are affected by CVE-2026-137513?
1 open source package ship an affected version, including justhtml.
| Package | Affected | Fixed in |
|---|---|---|
justhtml PyPIpkg:pypi/justhtml | All versions | 3.17.0 |
How do I fix CVE-2026-137513?
Upgrade justhtml to 3.17.0 or later.
Is CVE-2026-137513 being exploited?
There is no known exploitation of CVE-2026-137513 in the wild and no public exploit code.
Sources
Also known as GHSA-5jx8-v7x3-xjh5, GHSA-6cr7-h2q7-28p7.