Home
» GitHub Advisories
» GHSA-cm5g-3pgc-8rg4
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.
Basic information
Type
reviewed
Severity
medium
Advisory on GitHub
Open advisory ↗
Repository advisory
—
Source code
Browse source ↗
Published (advisory)
2024-10-29 18:30:37 UTC
Updated
2024-12-19 17:52:11 UTC
GitHub reviewed
2024-11-25 21:31:20 UTC
NVD published
2024-10-29
EPSS Score
Score
Percentile
0.33%
55.54%
CVSS Scores
Base score
Version
Severity
Vector
4.0
3.1
—
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N
Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:N)
Service keeps running; no real outage angle.
CWEs
CWE id
Name
CWE-74
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
Credits
axi92
(analyst)
rtmcmill2009
(analyst)
Affected packages (1)
Vulnerable version ranges and first patched releases as published by GitHub.
Ecosystem
Package
Vulnerable range
First patched
Vulnerable functions
npm
express
<= 3.21.4
4.0.0-rc1
—
cvelogic
Threat Intelligence