← Back to overview

justhtml versions 1.11.0 and earlier contain a vulnerability in the to_markdown() function that fails to properly escape HTML-significant characters such as angle brackets in text nodes. This allows untrusted input that is safely handled by to_html() to be emitted as raw HTML in Markdown output. Affected sources include entity-decoded text and content from RCDATA/RAWTEXT-parsed elements like title, textarea, noscript, and plaintext. The flaw enables a sanitizer bypass where potentially malicious HTML, including script tags, can pass through unescaped. When the resulting Markdown is rendered by a downstream processor, it can lead to cross-site scripting (XSS) attacks. The vulnerability is fixed in version 1.12.0. Users are advised to upgrade immediately to mitigate the risk of XSS exploitation.

Affected products

  • justhtml <= 1.11.0

Related CVE's

  • CVE-2026-8445

Categories

  • Supply Chain & Dependencies
  • Web Technologies