CVE-2025-59364Published Sep 14, 2025 · Sep 14Updated Oct 28
express-xss-sanitizer has an unbounded recursion depth
Express XSS Sanitizer project Express XSS Sanitizer
Medium5.3Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| express-xss-sanitizer npm |
|
|
Original description
The express-xss-sanitizer (aka Express XSS Sanitizer) package through 2.0.0 for Node.js has an unbounded recursion depth in sanitize in lib/sanitize.js for a JSON request body.
From the CVE record · mitre