Skip to main content
← All vulnerabilities
CVE-2026-5389GHSA-5VP3-3CG6-2RQ3

justhtml before 1.13.0 XSS via code fence breakout

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.13.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • EmilStenstrom justhtml

    fixed in 1.13.0

  • justhtmlPyPI

    fixed in 1.13.0

References 2

GitHub · EmilStenstrom/justhtml

vulncheck.com