CVE-2026-137513

7.5High

Published Nov 26, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite

7.5CVSS

High

0CVSS v3.110

Attack vector
Network
Complexity
Low
Privileges
None
User action
None
Impact
High impact on availability
Weakness
CWE-241

What an attacker gets

Unauthenticated attackers can crash your application by submitting specific HTML payloads. This causes a denial of service by triggering an unhandled exception during parsing.

Root cause

The decode_entities_in_text function fails to handle non-ASCII Unicode digits in numeric character references, causing an uncaught ValueError.

Affected versions

justhtml before 3.17.0

CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Fix & remediation

Upgrade to justhtml 3.17.0 or later. If you cannot upgrade, sanitize input to strip numeric character references containing non-ASCII digits before passing them to the parser.

remediation — bash
$ pip install --upgrade justhtml

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD 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.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-137513

More fully triaged vulnerabilities you may want to check next.