Express ressource injection
Affected releases · express
- 3.x and older0.14.0 – 3.21.2No fix, no longer updated
3.x has no fix yet; the newest fixed line:
npm install express@4.0.0-rc1Not affected
5.0.0 – 5.3.0
6 releases, latest
Affected
3.0.0 – 3.21.2
96 releases
Affected
2.0.0 – 2.5.11
39 releases
Affected
1.0.0 – 1.0.8
9 releases
Affected
0.14.0 – 0.14.1
2 releases
Is your project affected?
Paste your package.json, or type the range you declare for express. It is read in your browser and sent nowhere.
What happens
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.