What’s Vulnerable › Vulnerabilities

CVE-2024-43796: express vulnerable to XSS via response.redirect()

Description

Express.js minimalist web framework for node. In express < 4.20.0, passing untrusted user input - even after sanitizing it - to response.redirect() may execute untrusted code. This issue is patched in express 4.20.0.

Affected products

How to fix

Upgrade to a fixed version: expressjs express 4.20.0; Npm Express 4.20.0, 5.0.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-43796 or the next vulnerability affects your stack