Skip to content

CVE-2026-137513 justhtml before 3.17.0 Denial of Service via Unicode Digit Numeric Entity

HighCVSS 8.7 EPSS 0.65%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
pypi justhtml < 3.17.0 3.17.0 Fixed

Affected products

ProductAffected versionsFixed in
pypi justhtml < 3.17.0 3.17.0

References