Description
Sanitize-html is a library for scrubbing html input of malicious values. Versions 1.11.1 and below are vulnerable to cross site scripting (XSS) in certain scenarios: If allowed at least one nonTextTags, the result is a potential XSS vulnerability.
Metrics
CVSS 3.0 6.1/10
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| HackerOne | sanitize-html node module | <=1.11.1 |
References
- https://github.com/punkave/sanitize-html/commit/5d205a1005ba0df80e21d8c64a15bb3accdb2403Patch
- https://github.com/punkave/sanitize-html/issues/100Exploit, Issue Tracking, Third Party Advisory
- https://nodesecurity.io/advisories/154Exploit, Third Party Advisory
- https://github.com/punkave/sanitize-html/commit/5d205a1005ba0df80e21d8c64a15bb3accdb2403Patch
- https://github.com/punkave/sanitize-html/issues/100Exploit, Issue Tracking, Third Party Advisory
- https://nodesecurity.io/advisories/154Exploit, Third Party Advisory
Timeline
- Published
- Jun 4, 2018
- Last modified
- Jun 17, 2026
- NVD status
- Modified