Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-5389
VULNERABILITY

CVE-2026-5389

Common Vulnerabilities and Exposures record

MEDIUM

Summary

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.

Risk

CVSS
5.1
Severity
MEDIUM
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Timeline

Published
Aug 23, 2026 14:16
Modified
Oct 12, 2026 16:10
Last observed
Oct 13, 2026 17:03

CWE

CWE-80

References