Skip to content

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

MediumCVSS 5.3 EPSS 0.44%
Published
Updated
Exploit status
No public exploit known

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.

Affected products

ProductAffected versionsFixed in
npm express(npm) <= 3.21.4 No fix listed
debian/node-express(Debian:12) < 4.1.1~dfsg-1 4.1.1~dfsg-1
debian/node-express(Debian:13) < 4.1.1~dfsg-1 4.1.1~dfsg-1
debian/node-express(Debian:14) < 4.1.1~dfsg-1 4.1.1~dfsg-1
npm express(npm) >= 3.0.0-alpha1, <= 3.21.2 No fix listed
expressjs express >= 3.0.0-alpha1, <= 3.21.2 No fix listed
openjsf express >= 3.0.0, < 3.21.5 3.21.5

References