CVE-2026-5389

MEDIUM CVSS 4.0: 5.1 EPSS 0.23%
Updated Oct 12, 2026
Emilstenstrom
Parameter Value
CVSS 5.1 (MEDIUM)
Affected Versions before 1.13.0
Type CWE-80 (Improper Neutralization of Script-Related HTML Tags (XSS))
Vendor Emilstenstrom
Public PoC No

justhtml versions before 1.13.0 contain a cross-site scripting vulnerability in the to_markdown() function when serializing attacker-controlled pre content. Attackers can place backticks inside sanitized pre elements to break out of fixed-length code fences, allowing raw HTML to execute when the generated Markdown is rendered by CommonMark or GFM-style renderers.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
Active
User action required

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
None
No disruption

CVSS Vector v4.0

Vulnerable Products

emilstenstrom:justhtml