CVE-2017-16017 · hackerone
CVE-2017-16017
sanitize-html is a library for scrubbing html input for malicious values Versions 1.2.2 and below have a cross site scripting vulnerability.
Published 2018-06-04, last changed 2026-06-17. Weakness: CWE-79.
CVSS
6.1
medium, from NVD
EPSS
1.15%
percentile 67.9%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes
How to fix
Upgrade to a fixed version: sanitize-html 1.2.3 (npm). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Timeline
| 2018-06-04 | Published |
| 2018-11-09 | Package advisory GHSA-wg96-3933-j2w5 |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 1.15% |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-wg96-3933-j2w5 | sanitize-html (npm) | 1.2.3 |
Also known as: GHSA-wg96-3933-j2w5
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2026-113661 | 2026-10-20 | 5.4 | ApostropheCMS: Incomplete CVE-2026-53606: `meta http-equiv=refresh` `content` still ships `javascript:` / `data:` URLs |
| CVE-2026-113657 | 2026-10-20 | 3.7 | ApostropheCMS sanitize-html: SMIL animation namespace-prefix bypass allows javascript: URI injection (XSS) |
| CVE-2026-113654 | 2026-10-20 | 5.3 | ApostropheCMS sanitize-html: nonTextTags discard region ends early on an implied close, letting content render |
| CVE-2026-113650 | 2026-10-20 | 5.3 | ApostropheCMS sanitize-html: unbounded recursion when re-sanitizing the fallback of a discarded iframe (stack overflow, nestingLimit not enforced) |
| CVE-2026-84371 | 2026-09-01 | 5.4 | ApostropheCMS: Stored XSS via SVG SMIL URI-list scheme-policy bypass |
| CVE-2026-63670 | 2026-08-17 | 6.1 | ApostropheCMS: Mutation-XSS / allowedTags bypass via literal ` ` solidus close |
| CVE-2026-53606 | 2026-06-12 | 5.4 | sanitize-html has an incomplete URI scheme validation that allows javascript: URIs through action, formaction, data, poster, and background attributes |
| CVE-2026-44990 | 2026-06-12 | 9.3 | Apostrophe has default XSS via `xmp` raw-text passthrough in `sanitize-html` |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2017-16017, or call /api/v1/vulnerabilities/CVE-2017-16017. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.