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-5388

CRITICAL · 9.8 CVSS Gepubliceerd: CWE-20

Beschrijving NL

justhtml voor 1.15.0 bevat meerdere beveiligingsproblemen in URL-ontsmettingshelpers (clean_url_value/clean_url_in_js_string), HTML-serialisatie, Markdown-doorvoer (html_passthrough=True) en verschillende aangepaste randgevallen voor ontsmettingsbeleid. Afhankelijk van de configuratie kan een aanvaller ontsmetting omzeilen om actieve HTML en JavaScript te injecteren — bijvoorbeeld via gecodeerde javascript: URL's, op backslash gebaseerde relatieve URL's die zijn opgelost als externe hosts, opmaakbrekende programmatische element-/attribuutnamen of HTML-opmerkingen, ruwe </textarea> herintroductie via Markdown-passthrough of bewaard gebleven // -tags in aangepast beleid. De meeste problemen met aangepast beleid hebben geen invloed op de standaard sanitize= True-configuratie; ze hebben voornamelijk invloed op hulp-API's, programmatische DOM-constructie, html_passthrough=True en aangepast beleid/transform-pijplijnen.

Origineel (Engels) tonen

justhtml before 1.15.0 contains multiple security issues in URL sanitization helpers (clean_url_value/clean_url_in_js_string), HTML serialization, Markdown passthrough (html_passthrough=True), and several custom sanitization-policy edge cases. Depending on configuration, an attacker can bypass sanitization to inject active HTML and JavaScript — for example via encoded javascript: URLs, backslash-based relative URLs resolved as remote hosts, markup-breaking programmatic element/attribute names or HTML comments, raw </textarea> reintroduction through Markdown passthrough, or preserved // tags in custom policies. Most custom-policy issues do not affect the default sanitize=True configuration; they primarily affect helper APIs, programmatic DOM construction, html_passthrough=True, and custom policies/transform pipelines.

References