Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. justhtml
  4. ›
  5. GHSA-4p64-v8f5-r2gx

GHSA-4p64-v8f5-r2gx: Multiple security fixes in justhtml

April 14, 2026

justhtml 1.16.0 fixes multiple security issues in sanitization, serialization, and programmatic DOM handling.

Most of these issues affected one of these advanced paths rather than ordinary parsed HTML with the default safe settings:

  • programmatic DOM input to sanitize() or sanitize_dom()
  • reused or mutated sanitization policy objects
  • custom policies that preserve foreign namespaces such as SVG or MathML

References

  • github.com/EmilStenstrom/justhtml
  • github.com/EmilStenstrom/justhtml/security/advisories/GHSA-4p64-v8f5-r2gx
  • github.com/advisories/GHSA-4p64-v8f5-r2gx

Code Behaviors & Features

Detect and mitigate GHSA-4p64-v8f5-r2gx with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.16.0

Fixed versions

  • 1.16.0

Solution

Upgrade to version 1.16.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-178: Improper Handling of Case Sensitivity
  • CWE-436: Interpretation Conflict
  • CWE-471: Modification of Assumed-Immutable Data (MAID)
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

pypi/justhtml/GHSA-4p64-v8f5-r2gx.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sat, 09 May 2026 12:18:36 +0000.