Search Results (3 CVEs found)

CVE Vendors Products Updated CVSS v3.1
CVE-2026-33979 2 Ahmedadelfahim, Express Xss Sanitizer Project 2 Express-xss-sanitizer, Express Xss Sanitizer 2026-03-31 8.2 High
Express XSS Sanitizer is Express 4.x and 5.x middleware which sanitizes user input data (in req.body, req.query, req.headers and req.params) to prevent Cross Site Scripting (XSS) attack. A vulnerability has been identified in versions prior to 2.0.2 where restrictive sanitization configurations are silently ignored. In version 2.0.2, the validation logic has been updated to respect explicitly provided empty configurations. Now, if allowedTags or allowedAttributes are provided (even if empty), they are passed directly to sanitize-html without being overridden.
CVE-2025-59364 1 Express Xss Sanitizer Project 1 Express Xss Sanitizer 2025-09-15 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.
CVE-2022-21169 1 Express Xss Sanitizer Project 1 Express Xss Sanitizer 2025-05-21 7.3 High
The package express-xss-sanitizer before 1.1.3 are vulnerable to Prototype Pollution via the allowedTags attribute, allowing the attacker to bypass xss sanitization.