Express ressource injection
Summary
CVE-2024-10491: Express ressource injection. Affects express versions < 4.0.0-rc1. Fixed in 4.0.0-rc1. How to fix ↓
Also tracked for
- node-express · Debian:11
The same CVE-2024-10491 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
A vulnerability has been identified in the Express response.links function, allowing for arbitrary resource injection in the Link header when unsanitized data is used.
The issue arises from improper sanitization in Link header values, which can allow a combination of characters like ,, ;, and <> to preload malicious resources.
This vulnerability is especially relevant for dynamic parameters.
How To Fix
Minimum fixed version
4.0.0-rc1
This is the first release that contains the fix.
npm install express@4.0.0-rc1
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Related vulnerabilities
Recent vulnerabilities recorded for express.