{"id":"CVE-2017-16016","published":"2018-06-04T19:00:00Z","modified":"2024-09-17T01:46:48Z","title":"Sanitize-html is a library for scrubbing html input of malicious values","vendor":"HackerOne","product":"sanitize-html node module","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01311,"percentile":0.71376,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://nodesecurity.io/advisories/154","tags":["x_refsource_MISC"]},{"url":"https://github.com/punkave/sanitize-html/issues/100","tags":["x_refsource_MISC"]},{"url":"https://github.com/punkave/sanitize-html/commit/5d205a1005ba0df80e21d8c64a15bb3accdb2403","tags":["x_refsource_MISC"]}],"priority":{"score":14.3,"factors":[{"name":"EPSS percentile","points":14.28}]},"vendorSlug":"hackerone","affectedVersions":[{"vendor":"HackerOne","product":"sanitize-html node module","versions":["<=1.11.1"]}],"affected":[{"ecosystem":"npm","package":"sanitize-html","vulnerableRanges":["<1.11.4"],"patched":["1.11.4"],"from":["GHSA-xc6g-ggrc-qq4r"],"provenance":"source"}],"summary":{"text":"The sanitize-html Node module, a library for scrubbing HTML input of malicious values, contains a cross-site scripting flaw in how it handles input when at least one nonTextTags entry is allowed. An attacker who can supply HTML that the application passes through the sanitizer can cause script to be injected into the sanitized output under those configuration conditions.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:49:12Z"},"euvd":{"id":"EUVD-2018-0787","exploited":false,"provenance":"source"}}