Sanitize Html
Vendor:
First CVE: Jan 23, 2020 · Active for 6 years
8
Total CVEs
More Total CVEs than 85% of tracked products
1.3
Avg CVEs / Year
Higher CVE frequency than 55% of tracked products
6.0
Avg CVSS
Higher Avg CVSS than 20% of tracked products
0.0%
KEV Rate
Bottom 1%
Trends Over Time
The number and severity of CVEs published that impact Sanitize Html over time
Volume of CVEsAvg CVSS Base Score
First CVE
Jan 23, 2020
6 years ago
Most Recent CVE
Apr 15, 2026
101 days ago
CVE Severity & Scoring
Sanitize Html8 CVEs
88%
13%
All CVEs352,427 CVEs
45%
40%
11%
MediumHigh
Attack Vector
Local0 (0.0%)
Network8 (100.0%)
Unknown0 (0.0%)
Physical0 (0.0%)
Adjacent Network0 (0.0%)
Attack Complexity
Low8 (100.0%)
High0 (0.0%)
Unknown0 (0.0%)
User Interaction
None4 (50.0%)
Unknown0 (0.0%)
Required4 (50.0%)
Privileges Required
Low0 (0.0%)
High0 (0.0%)
None8 (100.0%)
Unknown0 (0.0%)
Top CVEs
Signals from CVEs in this product scope (8 CVEs).
8 CVEs · Highest risk first
| CVE | Published | CVSS | Risk | KEV | Exploit |
|---|---|---|---|---|---|
CVE-2022-25887HIGH The package sanitize-html before 2.7.1 are vulnerable to Regular Expression Denial of Service (ReDoS) due to insecure global regular expression replacement logic of HTML comment re | Aug 30, 2022 | 7.5 | 25 | NO | NO |
CVE-2026-40186MEDIUM ApostropheCMS is an open-source Node.js content management system. A regression introduced in commit 49d0bb7, included in versions 2.17.1 of the ApostropheCMS-maintained sanitize-h | Apr 15, 2026 | 6.1 | 22 | NO | NO |
CVE-2019-25225MEDIUM `sanitize-html` prior to version 2.0.0-beta is vulnerable to Cross-site Scripting (XSS). The `sanitizeHtml()` function in `index.js` does not sanitize content when using the custom | Sep 8, 2025 | 6.1 | 22 | NO | NO |
CVE-2014-125128MEDIUM 'sanitize-html' prior to version 1.0.3 is vulnerable to Cross-site Scripting (XSS). The function 'naughtyHref' doesn't properly validate the hyperreference (`href`) attribute in an | Sep 8, 2025 | 6.1 | 21 | NO | NO |
CVE-2016-1000237MEDIUM sanitize-html before 1.4.3 has XSS. | Jan 23, 2020 | 6.1 | 20 | NO | NO |
CVE-2021-26540MEDIUM Apostrophe Technologies sanitize-html before 2.3.2 does not properly validate the hostnames set by the "allowedIframeHostnames" option when the "allowIframeRelativeUrls" is set to | Feb 8, 2021 | 5.3 | 19 | NO | NO |
CVE-2024-21501MEDIUM Versions of the package sanitize-html before 2.12.1 are vulnerable to Information Exposure when used on the backend and with the style attribute allowed, allowing enumeration of fi | Feb 24, 2024 | 5.3 | 18 | NO | NO |
CVE-2021-26539MEDIUM Apostrophe Technologies sanitize-html before 2.3.1 does not properly handle internationalized domain name (IDN) which could allow an attacker to bypass hostname whitelist validatio | Feb 8, 2021 | 5.3 | 18 | NO | NO |
Exploit Exposure
Signals from CVEs in this product scope (8 CVEs).
CISA KEV
0 CVEs
0.0% of CVEs· Bottom 1%
Metasploit
0 CVEs
0.0% of CVEs· Bottom 1%
Nuclei
0 CVEs
0.0% of CVEs· Bottom 1%
ExploitDB
0 CVEs
0.0% of CVEs· Bottom 1%
Social Chatter
Signals from CVEs in this product scope (8 CVEs).
Media Mentions
Signals from CVEs in this product scope (8 CVEs).
Top CNAs Publishing CVEs For Sanitize Html
Top CWEs
Versions
No cataloged versions.