CVE-2017-16017Punkave 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.1% probability of exploitation in 30 days · percentile 67
- 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 for malicious values Versions 1.2.2 and below have a cross site scripting 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.2.3 |
1.2.3 |
npm install sanitize-html@1.2.3 |
Per OSV / GitHub Advisories (GHSA-wg96-3933-j2w5). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| punkave | sanitize-html | ≤ 1.2.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Third Party Advisory
- github.com Issue Tracking
- nodesecurity.io Exploit Third Party Advisory