CVE-2024-10491

Preload arbitrary resources by injecting additional `Link` headers

State
Published
Severity
4.0 Medium
Published
Oct 29, 2024
Updated
Oct 29, 2024
Reserved
Oct 29, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.14.0 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:NHeroDevs

Weaknesses

  • CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Affected Products

ProductVersions
expressexpress
  • 3.0.0-alpha1 through 3.21.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.