Vulnerabilities (CVE)

Filtered by vendor Express Xss Sanitizer Project Subscribe
Total 2 CVE
CVE Vendors Products Updated CVSS v2 CVSS v3
CVE-2026-33979 1 Express Xss Sanitizer Project 1 Express Xss Sanitizer 2026-03-31 N/A 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-2022-21169 1 Express Xss Sanitizer Project 1 Express Xss Sanitizer 2025-05-21 N/A 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.