Preload arbitrary resources by injecting additional `Link` headers
express
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| express npm |
|
|
Original 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.
From the CVE record · HeroDevs