NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2024-10491: Express ressource injection

mediumCVSS 3.1 4.0GHSA-cm5g-3pgc-8rg4

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.

Published Oct 29, 2024 · Updated Dec 19, 2024

Affected packages

express

Ecosystem
npm
Affected
<= 3.21.4
Fixed in
4.0.0-rc1
Check
npm ls express

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to axi92, rtmcmill2009.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More npm vulnerabilities

All npm entries