CVE-2026-5389

published 23 Aug 2026 · updated 24 Aug 2026

justhtml before 1.13.0 XSS via code fence breakout

6.1MediumCVSS 6.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 1.13.0.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
EmilStenstrom<1.13.01.13.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-5389 severity on Zeptric[![CVE-2026-5389](https://zeptric.io/badge/cve/CVE-2026-5389.svg)](https://zeptric.io/cve/CVE-2026-5389)