Technology · npm
sanitize-html (npm) vulnerabilities
Updated . Rebuilt every hour.
Junglewise Threat Intelligence has tracked 13 vulnerabilities in sanitize-html (npm): 0 in the last 7 days and 2 in the last 90 days, 1 of them critical and 0 exploited in the wild. The most recent, CVE-2026-84371, was published on 1 September 2026.
- Last 7 days
- 0
- Last 90 days
- 2
- Critical, all time
- 1
- Exploited in the wild
- 0
About sanitize-html (npm)
An npm library for sanitizing HTML to prevent XSS attacks by removing potentially dangerous elements and attributes.
Latest sanitize-html (npm) vulnerabilities
- CVE-2026-84371: ApostropheCMS is an open-source Node.js content management system, and sanitize-html provides a simple HTML sanitizer with…mediumCVSS 5.4EPSS 0.3%
- CVE-2026-63670: ApostropheCMS is an open-source Node.js content management system. Prior to 2.17.6, sanitizeHtml() can pass disallowed…mediumCVSS 6.1EPSS 0.3%
- CVE-2026-53606: ApostropheCMS sanitize-html XSS via incomplete URI scheme validationmediumCVSS 5.4EPSS 0.2%
- CVE-2026-44990: ApostropheCMS sanitize-html XSS bypass via xmp elementcriticalCVSS 9.3EPSS 0.7%
- CVE-2026-40186: Apostrophe sanitize-html allowedTags bypass in textarea and option tagsmediumCVSS 6.1EPSS 0.3%
- CVE-2019-25225: sanitize-html XSS vulnerability in custom transformTagslowCVSS 3.1EPSS 0.3%
- CVE-2024-21501: sanitize-html information exposure via style attributelowCVSS 3.1EPSS 1.0%
- CVE-2022-25887: sanitize-html Regular Expression Denial of ServicelowCVSS 3.1EPSS 1.5%
- CVE-2021-26540: Apostrophe sanitize-html hostname whitelist bypass in iframe validationlowCVSS 3.1EPSS 1.8%
- CVE-2021-26539: Apostrophe sanitize-html IDN bypass in allowedIframeHostnameslowCVSS 3.1EPSS 1.9%
- CVE-2016-1000237: ApostropheCMS sanitize-html Cross-Site Scripting via non-recursive filteringlowCVSS 3.1
- CVE-2017-16016: sanitize-html cross-site scripting via nonTextTagsinfoCVSS 6.1EPSS 1.4%
- CVE-2017-16017: sanitize-html cross-site scriptinglowCVSS 3EPSS 1.2%
Most severe sanitize-html (npm) vulnerabilities
Exploited in the wild first, then by severity and CVSS score.
- CVE-2026-44990: ApostropheCMS sanitize-html XSS bypass via xmp elementcriticalCVSS 9.3EPSS 0.7%
- CVE-2026-63670: ApostropheCMS is an open-source Node.js content management system. Prior to 2.17.6, sanitizeHtml() can pass disallowed…mediumCVSS 6.1EPSS 0.3%
- CVE-2026-40186: Apostrophe sanitize-html allowedTags bypass in textarea and option tagsmediumCVSS 6.1EPSS 0.3%
- CVE-2026-84371: ApostropheCMS is an open-source Node.js content management system, and sanitize-html provides a simple HTML sanitizer with…mediumCVSS 5.4EPSS 0.3%
- CVE-2026-53606: ApostropheCMS sanitize-html XSS via incomplete URI scheme validationmediumCVSS 5.4EPSS 0.2%
- CVE-2021-26539: Apostrophe sanitize-html IDN bypass in allowedIframeHostnameslowCVSS 3.1EPSS 1.9%
- CVE-2021-26540: Apostrophe sanitize-html hostname whitelist bypass in iframe validationlowCVSS 3.1EPSS 1.8%
- CVE-2022-25887: sanitize-html Regular Expression Denial of ServicelowCVSS 3.1EPSS 1.5%
- CVE-2024-21501: sanitize-html information exposure via style attributelowCVSS 3.1EPSS 1.0%
- CVE-2019-25225: sanitize-html XSS vulnerability in custom transformTagslowCVSS 3.1EPSS 0.3%
Vulnerabilities per week
The last 13 weeks, by the week each vulnerability was published.
| Week of | Bar | Vulns | Critical |
|---|---|---|---|
| 29 Jun 2026 | 0 | 0 | |
| 6 Jul 2026 | 0 | 0 | |
| 13 Jul 2026 | 0 | 0 | |
| 20 Jul 2026 | 0 | 0 | |
| 27 Jul 2026 | 0 | 0 | |
| 3 Aug 2026 | 0 | 0 | |
| 10 Aug 2026 | 0 | 0 | |
| 17 Aug 2026 | 1 | 0 | |
| 24 Aug 2026 | 0 | 0 | |
| 31 Aug 2026 | 1 | 0 | |
| 7 Sep 2026 | 0 | 0 | |
| 14 Sep 2026 | 0 | 0 | |
| 21 Sep 2026 | 0 | 0 |
How this is built
Junglewise Threat Intelligence collects vulnerabilities from NVD, GitHub Security Advisories, OSV, the CISA Known Exploited Vulnerabilities catalog, FIRST EPSS and vendor advisories, and matches each one to the technologies and vendors it affects. Dates are the date a vulnerability was published, in UTC.
The pages are rebuilt from the database every hour. Frozen weekly and monthly reports never change once published, so they can be cited.
Use this data
The same data is at https://junglewise.ai/threats/technologies/sanitize-html.json, for scripts and language models. It is free to reuse under CC BY 4.0 with a link back to this page.
Cite as: Junglewise Threat Intelligence, "sanitize-html (npm) vulnerabilities", https://junglewise.ai/threats/technologies/sanitize-html, 26 September 2026.