npm

sanitize-html

View on npm registry
17 Total advisories
17 Vulnerabilities
0 Malware

Dependency scanning

Check whether sanitize-html is in your codebase

Corgea flags malicious and compromised dependencies with reachability analysis, so you fix the packages that actually run in your application instead of working through the whole lockfile.

Vulnerabilities

MEDIUM 5.3
npm

CVE-2026-113650

ApostropheCMS sanitize-html: unbounded recursion when re-sanitizing the fallback of a discarded iframe (stack overflow, nestingLimit not enforced)

MEDIUM 5.4
npm

CVE-2026-113661

ApostropheCMS: Incomplete CVE-2026-53606: `meta http-equiv=refresh` `content` still ships `javascript:` / `data:` URLs

LOW 3.7
npm

CVE-2026-113657

ApostropheCMS sanitize-html: SMIL animation namespace-prefix bypass allows javascript: URI injection (XSS)

UNKNOWN
npm

CVE-2026-113654

ApostropheCMS sanitize-html: nonTextTags discard region ends early on an implied close, letting <noscript> content render

MEDIUM 5.4
npm

CVE-2026-84371

ApostropheCMS: Stored XSS via SVG SMIL URI-list scheme-policy bypass

MEDIUM 5.3
npm

CVE-2024-21501

sanitize-html Information Exposure vulnerability

MEDIUM 6.1
npm

CVE-2026-63670

ApostropheCMS: Mutation-XSS / allowedTags bypass via literal `</textarea/>` solidus close

MEDIUM 5.4
npm

CVE-2026-53606

sanitize-html has incomplete URI scheme validation in that allows javascript: URIs through action, formaction, data, poster, and background attributes

CRITICAL 9.3
npm

CVE-2026-44990

Apostrophe has default XSS via `xmp` raw-text passthrough in `sanitize-html`

MEDIUM 6.1
npm

CVE-2026-40186

sanitize-html allowedTags Bypass via Entity-Decoded Text in nonTextTags Elements

MEDIUM 6.1
npm

CVE-2019-25225

sanitize-html is vulnerable to XSS through incomprehensive sanitization

HIGH 7.5
npm

CVE-2022-25887

Sanitize-html Vulnerable To REDoS Attacks

MEDIUM 5.3
npm

CVE-2021-26540

Improper Input Validation in sanitize-html

MEDIUM 5.3
npm

CVE-2021-26539

Improper Input Validation in sanitize-html

MEDIUM 6.1
npm

CVE-2017-16017

Cross-Site Scripting in sanitize-html

UNKNOWN
npm

CVE-2017-16016

Cross-Site Scripting in sanitize-html

MEDIUM 6.1
npm

CVE-2016-1000237

Cross-Site Scripting in sanitize-html

Learn What is SAST?

Static Application Security Testing finds vulnerabilities like this one in source code before it ships. Read the guide →

Ready to move

Start Securing

Free, no credit card | First findings in minutes