Vulnerability

CVE-2026-5389

mediumCVSS 4.0 5.1Published 23 Aug 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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 products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /EmilStenstrom/justhtml/security/advisories/GHSA-5vp3-3cg6-…
  • www.vulncheck.com /advisories/justhtml-before-xss-via-code-fence-breakout

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning