Skip to main content

Uncontrolled Recursion

CVE-2025-59364

Severity Medium
Score 5.3/10

Summary

The express-xss-sanitizer (aka Express XSS Sanitizer) package versions through 2.0.0 for Node.js has an unbounded recursion depth in "sanitize()" in "lib/sanitize.js" for a JSON request body.

  • LOW
  • NETWORK
  • NONE
  • UNCHANGED
  • NONE
  • NONE
  • NONE
  • LOW

CWE-674 - Uncontrolled Recursion

The product does not properly control the amount of recursion which takes place, consuming excessive resources, such as allocated memory or the program stack.

Advisory Timeline

  • Published