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

- Severity: Medium 4.0 (CVSS:3.1, scored by HeroDevs) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.44%, higher than 40% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-10-29T16:23:21.219Z
- Modified: 2026-06-17T06:55:47.223Z
- Also known as: GHSA-cm5g-3pgc-8rg4
- Weaknesses: CWE-74
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: HeroDevs

## 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.

(As written by CVE List.)

## Affected

- express: from 3.0.0-alpha1 up to 3.21.2
- expressjs express: from 3.0.0-alpha1 up to 3.21.2
- express (npm): before 4.0.0-rc1
- openjsf express: from 3.0.0 before 3.21.5

## Every score

- HeroDevs: CVSS:3.1 4.0 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N`
- GitHub: CVSS:3.1 4.0 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`

## 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)

## Sources

- CVE List: [CVE-2024-10491](https://www.cve.org/CVERecord?id=CVE-2024-10491), CVE Terms of Use, modified 2024-10-29
- GitHub Advisory Database: [GHSA-cm5g-3pgc-8rg4](https://github.com/advisories/GHSA-cm5g-3pgc-8rg4), CC-BY-4.0, modified 2024-12-19
- NVD: [CVE-2024-10491](https://nvd.nist.gov/vuln/detail/CVE-2024-10491), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-10491 · Whole record: https://cve.day/CVE-2024-10491.json · Rebuilt by cve.day 2026-11-25T22:58:47.494Z
