Direct naar de inhoud
⚡ Kritieke cyberalerts voor jouw sector & systemen — direct in je inbox. Aanmelden →
CVE's Videos Dagbriefing

← Terug naar CVE-database

CVE-2026-6827

MEDIUM · 6.1 CVSS Gepubliceerd: CWE-79

Beschrijving NL

justhtml voor 1.17.0 bevat meerdere beveiligingsproblemen bij ontsmetting, serialisatie en programmatische DOM-afhandeling. Wanneer aangepaste beleidsregels buitenlandse naamruimten (SVG/MathML) behouden, kan gevaarlijke inhoud zoals HTML-integratiepunten (SVG , MathML ) en mutatie-XSS parser-differentiële payloads overleven en actieve HTML worden na reparse; SVG-filter="url(...)" en bewaard kunnen CSS voor het laden van bronnen achterlaten (@import, background-image:url()). Programmatic script/style/Comment nodes could serialize into active markup. Extra verhardingsoplossingen richten zich op sanitize-pipeline cache-mutatie en DOM ouder/kind-cycli die oneindige lussen kunnen veroorzaken. De meeste problemen hebben invloed op geavanceerde of aangepaste configuraties in plaats van het standaard veilige pad van JustHTML (..., sanitize=True).

Origineel (Engels) tonen

justhtml before 1.17.0 contains multiple security issues in sanitization, serialization, and programmatic DOM handling. When custom policies preserve foreign namespaces (SVG/MathML), dangerous content such as HTML integration points (SVG , MathML ) and mutation-XSS parser-differential payloads could survive sanitization and become active HTML after reparse; SVG filter="url(...)" and preserved could leave resource-loading CSS (@import, background-image:url()). Programmatic script/style/Comment nodes could serialize into active markup. Additional hardening fixes address sanitize-pipeline cache mutation and DOM parent/child cycles that could cause infinite loops. Most issues affect advanced or custom configurations rather than the default JustHTML(..., sanitize=True) safe path.

References