6.1med
CVE-2017-16017
Cross-Site Scripting in sanitize-html
Also known as GHSA-wg96-3933-j2w5
Published 8 y ago · modified 4 mo ago · JSON
CVSS
6.1
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
1.2%
percentile 67%
Public exploits
0
none known
Summary
sanitize-html is a library for scrubbing html input for malicious values Versions 1.2.2 and below have a cross site scripting vulnerability.
Exploit prediction (EPSS)
1.17% probability of exploitation in the next 30 days, higher than 67% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.0 | 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.0 | 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | sanitize-html | <1.2.3 | 1.2.3 |
Affected products
- HackerOne sanitize-html node module
Classification
- Weakness
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
- github.com /punkave/sanitize-html/pull/20 · x_refsource_MISC, x_transferred
- nodesecurity.io /advisories/155 · x_refsource_MISC, x_transferred
- github.com /punkave/sanitize-html/issues/19 · x_refsource_MISC, x_transferred
- nvd.nist.gov /vuln/detail/CVE-2017-16017 · advisory
- github.com /advisories/GHSA-wg96-3933-j2w5 · advisory
- npmjs.com /advisories/155 · web
Sources
- CVE List: CVE-2017-16017
- GitHub Advisory: GHSA-wg96-3933-j2w5
- NVD: CVE-2017-16017
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.