XSS in Emilstenstrom Justhtml
CVE-2026-5389
- CVSS v3
- 6.1 Medium
- Public exploits
- None known
- EPSS
- 0.002 · 13.9th percentile
- Published
- 2026-08-23
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- Required
UI:R - Scope
- Changed
S:C - Confidentiality
- Low
C:L - Integrity
- Low
I:L - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.002, 13.9th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- GitHub Security Advisory (GHSA-5vp3-3cg6-2rq3) (vendor-advisory)
- VulnCheck Advisory: justhtml before 1.13.0 XSS via code fence breakout (third-party-advisory)