npmWorst: High4 advisories

express-xss-sanitizer: known vulnerabilities

express-xss-sanitizer has 4 reviewed security advisories in the GitHub Advisory Database — 1 high, 3 moderate. The most recent was published 2026-03-27. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the express-xss-sanitizer versions running across your servers, containers and images, and ranks what to patch first.

How to fix express-xss-sanitizer

Upgrade express-xss-sanitizer to a release at or above the fixed version shown for each advisory below. For npm:

npm install express-xss-sanitizer@2.0.2 (or run npm audit fix)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (4)

Express XSS Sanitizer: allowedTags/allowedAttributes bypass leads to permissive sanitization (XSS risk) High 8.2 CWE-183 CWE-79 — Affected: before 2.0.2. Fixed in 2.0.2. Published 2026-03-27. GHSA-3843-rr4g-m8jq · CVE-2026-33979
express-xss-sanitizer has an unbounded recursion depth Moderate CWE-674 — Affected: before 2.0.1. Fixed in 2.0.1. Published 2025-09-26. GHSA-hvq2-wf92-j4f3 · CVE-2025-59364
Duplicate Advisory: express-xss-sanitizer has an unbounded recursion depth Moderate CWE-674 — Affected: up to and including 2.0.0. No fixed release is listed. Published 2025-09-14. GHSA-qhwp-454g-2gv4
express-xss-sanitizer vulnerable to Prototype Pollution via allowedTags attribute Moderate 6.1 CWE-1321 — Affected: before 1.1.3. Fixed in 1.1.3. Published 2022-09-26. GHSA-grjp-4jmr-mjcw · CVE-2022-21169

Find express-xss-sanitizer across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.