p PatchFirst

CVE-2026-5751

CVE-2026-5751 · justhtml before 1.14.0 Mutation XSS via custom sanitization policies

Diese Seite enthält Fakten aus öffentlichen Sicherheitsquellen. Lesen Sie vor dem Aktualisieren die Originalmeldung.

justhtml versions 1.13.0 and earlier contain a parser-differential / mutation cross-site scripting (mXSS) vulnerability when using a custom SanitizationPolicy that preserves foreign namespaces (e.g., drop_foreign_namespaces=False with allowlisted SVG/MathML elements or raw-text containers such as <style>). Specially crafted input can sanitize into markup that appears safe but becomes unsafe when re-parsed by a browser or another HTML parser, allowing markup injection. The default safe configuration (sanitize=True) is not affected. Fixed in 1.14.0.

CVSS 5.1 · Mittel · EPSS 0,3% · Korrektur verfügbar

Veröffentlicht
Aktualisiert

Technologie-Stack: python

Betroffene Produkte und Versionen

  • justhtml

    Softwareversionen
    • ≥ 0, < 1.14.0: Betroffen (semver)
    • 1.14.0: Nicht betroffen (semver)

    Auf 1.14.0 aktualisieren

  • justhtml PyPI

    Softwareversionen
    • 1.13.0
    Betroffene Versionsbereiche
    • ECOSYSTEM: ≥ 1.13.0, < 1.14.0

    Auf 1.14.0 aktualisieren

Originalquellen

Prüfen Sie Ihren Server →