ADVISORIES

GitHub Advisory Database

GHSA-cm5g-3pgc-8rg4

Express ressource injection

Moderate CVE-2024-10491

Details

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 packages

EcosystemPackageAffected versions
npmexpress
All versions before 4.0.0-rc1 (fixed in 4.0.0-rc1)

References