Read the docs

Denial of service in justhtml via Unicode digits in numeric entities

Priority HIGH 77CWE-241Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

EmilStenstrom justhtml before 3.17.0 mishandles non-ASCII Unicode digits in numeric character references (CWE-241). The decode_entities_in_text function passes these digits to int(), which raises an uncaught ValueError. An unauthenticated remote attacker can crash parsing by submitting HTML with such characters in text or attributes, which aborts JustHTML() and stream() parsing.

Written with Claude Haiku 5.5 from the sources below · 2026-11-30

Description from the CNA

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 now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00646 45th percentileScored 2026-11-30
Fix Fixed justhtml (EmilStenstrom): 3.17.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
EmilStenstromjusthtmlbefore 3.17.03.17.0Patch availableCNA
  • justhtml VendorEmilStenstrom Affected before 3.17.0 Fixed in 3.17.0 Patch available CNA

Remediation

Update EmilStenstrom justhtml to version 3.17.0, which fixes the flaw. CISA does not list this vulnerability in its Known Exploited Vulnerabilities catalog.

Written with Claude Haiku 5.5 from the sources below · 2026-11-30

  • Fix · CNA justhtml (EmilStenstrom) Fixed in 3.17.0

Timeline

  1. 2026-11-26 Threatist record created from CVE-2026-137513
  2. 2026-11-27 Alias added: GHSA-5jx8-v7x3-xjh5
  3. 2026-11-30 CISA SSVC decision points changed

References

  • TI-2026-07422 justhtml before 1.12.0 Sanitizer Bypass via Markdown CVSS 4.0CRITICAL 9.3
  • TI-2026-08560 justhtml before 1.10.0 Denial of Service via deeply nested HTML CVSS 4.0HIGH 8.7
  • TI-2026-52557 justhtml before 3.11.0 XSS via selectedcontent projection CVSS 4.0MEDIUM 5.1
  • TI-2026-04717 justhtml before 1.13.0 XSS via code fence breakout CVSS 4.0MEDIUM 5.1
  • TI-2026-06871 justhtml before 1.16.0 Multiple Security Issues via Sanitization CVSS 4.0CRITICAL 9.3
  • TI-2026-04716 justhtml before 1.15.0 Multiple Security Issues CVSS 4.0CRITICAL 9.3
See all 11 →

Sources