Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. justhtml
  4. ›
  5. GHSA-3rcm-vjrc-p45j

GHSA-3rcm-vjrc-p45j: JustHTML has a Sanitizer Bypass (in Markdown)

March 18, 2026

to_markdown() does not sufficiently escape text content that looks like HTML. As a result, untrusted input that is safe in to_html() can become raw HTML in Markdown output.

This is not specific to tokenizer raw-text states like <title>, <noscript>, or <plaintext>, although those states can trigger the behavior. The root cause is broader: Markdown text serialization leaves angle brackets unescaped in text nodes.

References

  • github.com/EmilStenstrom/justhtml
  • github.com/EmilStenstrom/justhtml/security/advisories/GHSA-3rcm-vjrc-p45j
  • github.com/advisories/GHSA-3rcm-vjrc-p45j

Code Behaviors & Features

Detect and mitigate GHSA-3rcm-vjrc-p45j with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.12.0

Fixed versions

  • 1.12.0

Solution

Upgrade to version 1.12.0 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

pypi/justhtml/GHSA-3rcm-vjrc-p45j.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:54 +0000.