A vulnerability has been identified in the Express response.links function, allowing for arbitrary ...
Summary
CVE-2024-10491: 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. Affects node-express versions < 4.1.1~dfsg-1. Fixed in 4.1.1~dfsg-1. How to fix ↓
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.1.1~dfsg-1
This is the first release that contains the fix.
sudo apt-get install --only-upgrade node-express
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Related vulnerabilities
Recent vulnerabilities recorded for node-express.