{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2017-16016","id":"CVE-2017-16016","title":"Cross-Site Scripting in sanitize-html","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.","descriptionLong":"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.","published":"2018-06-04T19:00:00.000Z","updated":"2026-10-20T10:48:16.218339919Z","reserved":"2017-10-29T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"hackerone","metric":{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":["HackerOne sanitize-html node module"],"affectedProducts":[{"vendor":"HackerOne","product":"sanitize-html node module","defaultStatus":null,"versions":[{"status":"affected","version":"<=1.11.1"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"sanitize-html","purl":"pkg:npm/sanitize-html","ranges":["<1.11.4"],"fixed":["1.11.4"],"advisory":"GHSA-xc6g-ggrc-qq4r"}],"cwes":["CWE-79"],"aliases":["GHSA-xc6g-ggrc-qq4r"],"references":[{"url":"https://nodesecurity.io/advisories/154","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence"]},{"url":"https://github.com/punkave/sanitize-html/issues/100","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://github.com/punkave/sanitize-html/commit/5d205a1005ba0df80e21d8c64a15bb3accdb2403","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-16016","tags":["advisory"]},{"url":"https://github.com/punkave/sanitize-html/commit/5d205a1005ba0df80e21d8c64a15bb3accdb2403)))","tags":["web"]},{"url":"https://github.com/advisories/GHSA-xc6g-ggrc-qq4r","tags":["advisory"]},{"url":"https://npmjs.com/package/sanitize-html#discarding-the-entire-contents-of-a-disallowed-tag","tags":["web"]},{"url":"https://www.npmjs.com/advisories/154","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01311,"epssPercentile":0.71249,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2017-16016","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-16016","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2017-16016","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-xc6g-ggrc-qq4r","ok":true,"note":"GHSA-xc6g-ggrc-qq4r"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2017-16016","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}