CVE-2017-16016Punkave Sanitize-html
Medium 6.1 No auth needed
Follow: this CVE · Punkave · Punkave Sanitize-html We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.0
- 6.1
- EPSS
- 1.3% probability of exploitation in 30 days · percentile 71
- Auth required
- No
- Published
- Jun 4, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Sanitize-html.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | sanitize-html |
< 1.11.4 |
1.11.4 |
npm install sanitize-html@1.11.4 |
Per OSV / GitHub Advisories (GHSA-xc6g-ggrc-qq4r). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| punkave | sanitize-html | ≤ 1.11.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Exploit Issue Tracking Third Party Advisory
- nodesecurity.io Exploit Third Party Advisory