● npm package
sanitize-html
Sanitize-html has 17 security advisories. The newest release any of them names as the fix is 2.18.1.
As of , sanitize-html has 17 security advisories. The newest release any of them names as the fix is 2.18.1.
Your version, and the version to upgrade to
| If you run | Upgrade to | Advisories |
|---|---|---|
| Before 2.18.1 | 2.18.1 | 17 advisories |
Security advisories, newest first
| Advisory | What it is | Affects | Fixed in | Published |
|---|---|---|---|---|
| CVE-2026-113650GHSA-c9rx-x947-fp3h | ApostropheCMS sanitize-html: unbounded recursion when re-sanitizing the fallback of a discarded iframe (stack overflow, nestingLimit not enforced)Moderate severity | From 2.18.0 before 2.18.1 | 2.18.1 | |
| CVE-2026-113657GHSA-374f-7chj-9948 | ApostropheCMS sanitize-html: SMIL animation namespace-prefix bypass allows javascript URI injection (XSS)Low severity | From 2.17.7 before 2.18.0 | 2.18.0 | |
| CVE-2026-113661GHSA-cv27-6wvh-8x7j | ApostropheCMS: Incomplete CVE-2026-53606: `meta http-equiv=refresh` `content` still ships `javascript` / `data:` URLsModerate severity | Before 2.18.0 | 2.18.0 | |
| CVE-2026-113654GHSA-x3q4-9hxx-gx8m | ApostropheCMS sanitize-html: nonTextTags discard region ends early on an implied close, letting <noscript> content renderModerate severity | Before 2.18.0 | 2.18.0 | |
| CVE-2026-63670GHSA-jxwj-j7wr-gfrw | ApostropheCMS: Mutation-XSS / allowedTags bypass via literal `</textarea/>` solidus closeModerate severity | Before 2.17.6 | 2.17.6 | |
| CVE-2026-84371GHSA-g8qq-57p8-ggw5 | ApostropheCMS: Stored XSS via SVG SMIL URI-list scheme-policy bypassModerate severity | From 1.9.0 before 2.17.7 | 2.17.7 | |
| CVE-2026-53606GHSA-vccv-cmxp-4j9h | sanitize-html has incomplete URI scheme validation in that allows javascript URIs through action, formaction, data, poster, and background attributesModerate severity | From 1.18.0 before 2.17.5 | 2.17.5 | |
| CVE-2026-44990GHSA-rpr9-rxv7-x643 | Apostrophe has default XSS via `xmp` raw-text passthrough in `sanitize-html`Critical severity | From 2.17.3 before 2.17.4 | 2.17.4 | |
| CVE-2026-40186GHSA-9mrh-v2v3-xpfm | sanitize-html allowedTags Bypass via Entity-Decoded Text in nonTextTags ElementsModerate severity | From 2.17.2 before 2.17.3 | 2.17.3 | |
| CVE-2019-25225GHSA-qhxp-v273-g94h | sanitize-html is vulnerable to XSS through incomprehensive sanitizationModerate severity | Before 2.0.0-beta | 2.0.0-beta | |
| CVE-2024-21501GHSA-rm97-x556-q36h | sanitize-html Information Exposure vulnerabilityModerate severity | Before 2.12.1 | 2.12.1 | |
| CVE-2022-25887GHSA-cgfm-xwp7-2cvr | Sanitize-html Vulnerable To REDoS AttacksHigh severity | Before 2.7.1 | 2.7.1 | |
| CVE-2021-26540GHSA-mjxr-4v3x-q3m4 | Improper Input Validation in sanitize-htmlModerate severity | Before 2.3.2 | 2.3.2 | |
| CVE-2021-26539GHSA-rjqq-98f6-6j3r | Improper Input Validation in sanitize-htmlModerate severity | Before 2.3.1 | 2.3.1 | |
| CVE-2016-1000237GHSA-3j7m-hmh3-9jmp | Cross-Site Scripting in sanitize-htmlModerate severity | Before 1.4.3 | 1.4.3 | |
| CVE-2017-16016GHSA-xc6g-ggrc-qq4r | Cross-Site Scripting in sanitize-htmlModerate severity | Before 1.11.4 | 1.11.4 | |
| CVE-2017-16017GHSA-wg96-3933-j2w5 | Cross-Site Scripting in sanitize-htmlModerate severity | Before 1.2.3 | 1.2.3 |
Other npm packages
- fastify17 advisories
- protobufjs17 advisories
- signalk-server17 advisories
- @haxtheweb/haxcms-nodejs16 advisories
Sources
- Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0