CVE-2025-59364 express-xss-sanitizer has an unbounded recursion depth
MediumCVSS 5.3
EPSS 0.47%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm express-xss-sanitizer(npm) | < 2.0.1 | 2.0.1 | Fixed |
| Express XSS Sanitizer project Express XSS Sanitizer | = 2.0.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm express-xss-sanitizer(npm) | < 2.0.1 | 2.0.1 |
| Express XSS Sanitizer project Express XSS Sanitizer | = 2.0.0 | No fix listed |
References
- github.com vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com patch
- dbugs.ptsecurity.com
- gist.github.com
- github.com product
- www.npmjs.com
- www.tenable.com
- github.com