What’s Vulnerable › Vulnerabilities

CVE-2024-10491: Preload arbitrary resources by injecting additional `Link` headers

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

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