CVE-2026-53606
Beschrijving NL
ApostropheCMS is een open-source Node.js content management systeem, en sanitize-html biedt een eenvoudige HTML sanitizer met een duidelijke API. Versies van sanitize-html vóór 2.17.5 gebruiken `allowedSchemesAppliedToAttributes` (standaard: `[` href ',' src ',' cite ']') om de functie `naughtyHref ()` te activeren die gevaarlijke URI-schema'S zoals `javascript:` en `vbscript:` blokkeert. De HTML-specificatie definieert 10+ attributen die URI's accepteren (`action`, `formaction`, `data`, `poster`, `background`, `ping`, `xlink:href`, `dynsrc`, `lowsrc`), maar geen van deze zijn opgenomen in de standaard gate-lijst. Wanneer een ontwikkelaar een van deze attributen in zijn configuratie toestaat, `javascript:` gaan URI`s volledig ongewijzigd door, waardoor XSS wordt ingeschakeld. Versie 2.17.5 lost het probleem op.
Origineel (Engels) tonen
ApostropheCMS is an open-source Node.js content management system, and sanitize-html provides a simple HTML sanitizer with a clear API. Versions of sanitize-html prior to 2.17.5 use `allowedSchemesAppliedToAttributes` (default: `['href', 'src', 'cite']`) to gate the `naughtyHref()` function that blocks dangerous URI schemes like `javascript:` and `vbscript:`. The HTML specification defines 10+ attributes that accept URIs (`action`, `formaction`, `data`, `poster`, `background`, `ping`, `xlink:href`, `dynsrc`, `lowsrc`), but none of these are included in the default gate list. When a developer allows any of these attributes in their configuration, `javascript:` URIs pass through completely unmodified, enabling XSS. Version 2.17.5 patches the issue.