Skip to content
Fencer Intel
medium 6.1

CVE-2017-16017 json

Cross-Site Scripting in sanitize-html

published 2018-06-04 8 y ago modified 2026-06-17 4 mo ago also GHSA-wg96-3933-j2w5 , EUVD-2018-0784

cvss
6.1
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.2%
EPSS 1.2% chance of exploitation in 30 days, 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.

Patch / fix

  • npm sanitize-html 1.2.3

Exploit prediction

1.17% chance of exploitation in the next 30 days, higher than 67% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • nodesecurity.io https://nodesecurity.io/advisories/155 referenced PoC, tagged "exploit" by a source, unverified
  • github.com https://github.com/punkave/sanitize-html/issues/19 referenced PoC, tagged "exploit" by a source, unverified

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

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.