PT-2026-48990
CVE-2026-53606
·
Published
2026-06-12
·
Updated
2026-10-09
Description by
CVSS 3.1
5.4
MediumMetricsAV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions
sanitize-html versions prior to 2.17.5
Description
The software uses the
allowedSchemesAppliedToAttributes variable to control the naughtyHref() function, which is designed to block dangerous URI schemes such as javascript: and vbscript:. However, several attributes that accept URIs—including action, formaction, data, poster, background, ping, xlink:href, dynsrc, and lowsrc—are missing from the default gate list. If a developer enables any of these attributes in the configuration, javascript: URIs are not modified, leading to Cross-Site Scripting (XSS), a technique where malicious scripts are injected into trusted websites.Recommendations
Update to version 2.17.5.
Found an issue in the description? Have something to add? Feel free to write us 👾