Loading advisory.
Loading advisory.
express-xss-sanitizer has an unbounded recursion depth
A vulnerability was discovered in express-xss-sanitizer that allowed unbounded recursion depth during sanitization of nested objects.
Published 2025-09-14 00:00 UTC · Modified 2025-09-26 14:57 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| express-xss-sanitizer | npm | < 2.0.1 | 2.0.1 | npm install express-xss-sanitizer@2.0.1 |
A vulnerability was discovered in express-xss-sanitizer that allowed unbounded recursion depth during sanitization of nested objects.
All versions prior to 2.0.1
2.0.1 and later
The sanitize function in lib/sanitize.js performed recursive sanitization without depth limiting, making it vulnerable to stack overflow attacks via specially crafted deeply nested JSON objects.
An attacker could cause denial-of-service by sending a request with deeply nested structures, potentially crashing the Node.js process.
Upgrade to version 2.0.1 or later:
npm install express-xss-sanitizer@latestNo public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.005 on 2026-11-24 to 0.007 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.005 | first score | v2026.06.15 |
| 2026-11-26 | 0.007 | 0.005 | v2026.06.15 |