CVE-2024-10491
MEDIUM 5.3CVSS 3.1Express ressource injection
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
- 29 Oct 2024
- Last modified
- 17 Jun 2026
- Assigned by
- 36c7be3b-2937-45df-85ea-ca7133ea542c
- NVD status
- Analyzed
- Weakness
- CWE-74
- Also known as
- GHSA-cm5g-3pgc-8rg4
- Sources
- NVDJSONOSV GHSA-cm5g-3pgc-8rg4JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | 36c7be3b-2937-45df-85ea-ca7133ea542c (Secondary) | CVSS 3.1 | MEDIUM 4.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | openjsf | expresscpe:2.3:a:openjsf:express:*:*:*:*:*:node.js:*:* |
>= 3.0.0, < 3.21.5 | 3.21.5 |
| OSV | npm | express | < 4.0.0-rc1 | 4.0.0-rc1 |
References
- https://www.herodevs.com/vulnerability-directory/cve-2024-10491 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-10491 · ADVISORY
- https://github.com/expressjs/express/issues/6222 · WEB
- https://github.com/expressjs/express · PACKAGE
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 29 Oct 2024)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 29 Oct 2024)