In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsThere is no fixed version for express-xss-sanitizer
.
express-xss-sanitizer is an Express 4.x middleware which sanitizes user input data (in req.body, req.query, req.headers and req.params) to prevent Cross Site Scripting (XSS) attack.
Affected versions of this package are vulnerable to Uncontrolled Recursion via the sanitize
function in lib/sanitize.js
when processing a JSON request body. An attacker can cause the application to become unresponsive or crash by submitting specially crafted input that triggers unbounded recursion.