Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://gist.github.com/Spendroslav/177804eaef5acfb222a550de212a1b94
- https://github.com/AhmedAdelFahim/express-xss-sanitizer
- https://www.npmjs.com/package/express-xss-sanitizer
FAQ
What is CVE-2025-59364?
CVE-2025-59364 is a vulnerability with a CVSS score of 5.3 (MEDIUM). 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.
How severe is CVE-2025-59364?
CVE-2025-59364 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-59364?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.