What’s Vulnerable › Vulnerabilities
CVE-2024-10491: Preload arbitrary resources by injecting additional `Link` headers
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-10-29 · updated 2026-06-17
- Weakness: CWE-74
Description
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.
Affected products
- expressjs express: from 3.0.0 before 3.21.5 — fixed in 3.21.5
How to fix
Upgrade to a fixed version: expressjs express 3.21.5. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2024-10491 or the next vulnerability affects your stack