Unbounded Recursion Vulnerability in Express XSS Sanitizer for Node.js

Post Reply
Shane1145
Posts: 1689
Joined: Wed Sep 25, 2024 2:31 pm

Unbounded Recursion Vulnerability in Express XSS Sanitizer for Node.js

Post by Shane1145 »

The Express XSS Sanitizer package for Node.js, up to version 2.0.0, is vulnerable to an unbounded recursion issue in its 'sanitize' function found in lib/sanitize.js. This vulnerability can be exploited through specially crafted JSON request bodies, leading to potential denial of service and degradation of application performance. Developers using this package should review their implementations and upgrade to secure versions to mitigate risks.

https://securityvulnerability.io/vulner ... 2025-59364
Post Reply