Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2017-16016
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 09:52 UTC · Revision 1
Source evidence
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.
osv:CVE-2017-16016
Complete source record
{
"id": "6d562b823df4925e64eb8248eec739f08df1b801743831d9986e086e78c7ccc9",
"url": "https://osv.dev/vulnerability/CVE-2017-16016",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2017-16016",
"summary": "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.",
"evidence": "osv:CVE-2017-16016",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2017-16016",
"aliases": [
"CVE-2017-16016",
"GHSA-xc6g-ggrc-qq4r"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/apostrophecms/sanitize-html",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "76eaee88733885092db19807c23f024b5a1f5bca"
},
{
"fixed": "5d205a1005ba0df80e21d8c64a15bb3accdb2403"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:punkave:sanitize-html:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "1.11.1"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "5d205a1005ba0df80e21d8c64a15bb3accdb2403"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"1.11.1",
"1.11.0",
"1.10.1",
"v1.9.0",
"v1.8.0",
"v1.7.2",
"v1.7.1",
"v1.7.0",
"v1.5.2"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-16016.json"
}
}
],
"modified": "2026-10-20T10:48:16.218339919Z",
"provider": "osv",
"references": [
"https://github.com/punkave/sanitize-html/issues/100",
"https://github.com/punkave/sanitize-html/commit/5d205a1005ba0df80e21d8c64a15bb3accdb2403",
"https://nodesecurity.io/advisories/154"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2017-16016",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 380218,
"published_at": "2018-06-04T19:29:01.023+00:00"
}