Sanitize-html is a library for scrubbing html input of malicious values
Published Jun 4, 2018
6.1
MEDIUMCVSS 3.0
EPSS 1.36%
Description
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.
Affected products
-
- Version <=1.11.1StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| HackerOne | Sanitize-Html Node Module | n/a |
|
- ≤ 1.11.1
No data.
No Red Hat product state for this CVE.
sanitize-html
npm
Introduced 0 Fixed 1.11.4
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | sanitize-html | 0 | 1.11.4 |
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
AV:N/AC:M/Au:N/C:N/I:P/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Table of values (9 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 1.36% (0.01357) | 70.66th | v5 (v2026.06.15) |
| Sep 20, 2026 | 1.36% (0.01357) | 70.43th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.08% (0.00084) | 36.25th | v3 (v2023.03.01) |
| May 15, 2024 | 0.08% (0.00084) | 35.39th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.08% (0.00082) | 33.35th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.95% (0.00954) | 36.37th | v2 (v2022.01.01) |
| Feb 4, 2022 | 0.95% (0.00954) | 16.28th | v2 (v2022.01.01) |
| Feb 3, 2022 | 0.83% (0.00833) | 24.58th | v5 (v2026.06.15) |
| Apr 14, 2021 | 0.83% (0.00833) | 0.00th | v1 |
References (8)
- https://github.com/advisories/GHSA-xc6g-ggrc-qq4r Advisory
- https://github.com/punkave/sanitize-html/commit/5d205a1005ba0df80e21d8c64a15bb3accdb2403 x_refsource_MISCPatch
- https://github.com/punkave/sanitize-html/commit/5d205a1005ba0df80e21d8c64a15bb3accdb2403)))
- https://github.com/punkave/sanitize-html/issues/100 x_refsource_MISCExploitIssue TrackingThird Party Advisory
- https://nodesecurity.io/advisories/154 x_refsource_MISCExploitThird Party Advisory
- https://npmjs.com/package/sanitize-html#discarding-the-entire-contents-of-a-disallowed-tag
- https://nvd.nist.gov/vuln/detail/CVE-2017-16016
- https://www.npmjs.com/advisories/154
| Link | Providers | Tags |
|---|---|---|
| https://github.com/advisories/GHSA-xc6g-ggrc-qq4r | Advisory | |
| https://github.com/punkave/sanitize-html/commit/5d205a1005ba0df80e21d8c64a15bb3accdb2403 | x_refsource_MISCPatch | |
| https://github.com/punkave/sanitize-html/commit/5d205a1005ba0df80e21d8c64a15bb3accdb2403))) | ||
| https://github.com/punkave/sanitize-html/issues/100 | x_refsource_MISCExploitIssue TrackingThird Party Advisory | |
| https://nodesecurity.io/advisories/154 | x_refsource_MISCExploitThird Party Advisory | |
| https://npmjs.com/package/sanitize-html#discarding-the-entire-contents-of-a-disallowed-tag | ||
| https://nvd.nist.gov/vuln/detail/CVE-2017-16016 | ||
| https://www.npmjs.com/advisories/154 |
Change history (0)
No recorded changes yet.