CISA list

● npm package

express-xss-sanitizer

Express-xss-sanitizer has three security advisories. The newest release any of them names as the fix is 2.0.2.

As of , express-xss-sanitizer has three security advisories. The newest release any of them names as the fix is 2.0.2.

Your version, and the version to upgrade to

Find the row your installed version falls in. The second column is the first release after it that none of the advisories lists as affected; a release outside every row is one no advisory lists. That is what the advisories say, not a promise that a release is free of flaws.
If you runUpgrade toAdvisories
Before 2.0.22.0.23 advisories

Security advisories, newest first

Security advisories, newest first
AdvisoryWhat it isAffectsFixed inPublished
CVE-2026-33979GHSA-3843-rr4g-m8jqExpress XSS Sanitizer: allowedTags/allowedAttributes bypass leads to permissive sanitization (XSS risk)High severityBefore 2.0.22.0.2
CVE-2025-59364GHSA-hvq2-wf92-j4f3express-xss-sanitizer has an unbounded recursion depthModerate severityBefore 2.0.12.0.1
CVE-2022-21169GHSA-grjp-4jmr-mjcwexpress-xss-sanitizer vulnerable to Prototype Pollution via allowedTags attributeModerate severityBefore 1.1.31.1.3

Other npm packages

Sources
  • Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0