CVE-2018-16472
Prototype Pollution in cached-path-relative
A prototype pollution attack in cached-path-relative versions <=1.0.1 allows an attacker to inject properties on Object.prototype which are then inherited by all the JS objects through the prototype chain causing a DoS attack.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.5
A prototype pollution attack in cached-path-relative versions <=1.0.1 allows an attacker to inject properties on Object.prototype which are then inherited by all the JS objects through the prototype chain causing a DoS attack.
- Record
CVE-2018-16472- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-400, CWE-20
- Updated
- 2026-11-02
CVE List No score
A prototype pollution attack in cached-path-relative versions <=1.0.1 allows an attacker to inject properties on Object.prototype which are then inherited by all the JS objects through the prototype chain causing a DoS attack.
- Record
CVE-2018-16472- Weakness
- CWE-400
- Updated
- 2026-11-02
EUVDEUVD-2018-0754 No score
A prototype pollution attack in cached-path-relative versions <=1.0.1 allows an attacker to inject properties on Object.prototype which are then inherited by all the JS objects through the prototype chain causing a DoS attack.
- Record
EUVD-2018-0754- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-hc9w-4p87-j549
7.5
Prototype Pollution in cached-path-relative
Version of cached-path-relative before 1.0.2 are vulnerable to prototype pollution.
Recommendation
Update to version 1.0.2 or later.
- Record
GHSA-hc9w-4p87-j549- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-20, CWE-400
- Updated
- 2026-11-02
OSV
7.5
A prototype pollution attack in cached-path-relative versions <=1.0.1 allows an attacker to inject properties on Object.prototype which are then inherited by all the JS objects through the prototype chain causing a DoS attack.
- Record
CVE-2018-16472- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2018-16472
7.5
A prototype pollution attack in cached-path-relative versions <=1.0.1 allows an attacker to inject properties on Object.prototype which are then inherited by all the JS objects through the prototype chain causing a DoS attack.
- Record
DEBIAN-CVE-2018-16472- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVGHSA-hc9w-4p87-j549
7.5
Prototype Pollution in cached-path-relative
Version of cached-path-relative before 1.0.2 are vulnerable to prototype pollution.
Recommendation
Update to version 1.0.2 or later.
- Record
GHSA-hc9w-4p87-j549- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-20, CWE-400
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2018-16472
7.5
A prototype pollution attack in cached-path-relative versions <=1.0.1 allows an attacker to inject properties on Object.prototype which are then inherited by all the JS objects through the prototype chain causing a DoS attack.
- Record
UBUNTU-CVE-2018-16472- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
cached-path-relativenpm |
before 1.0.2 | 1.0.2 |
node-cached-path-relativeDebian:12 |
before 1.0.2-1 | 1.0.2-1 |
node-cached-path-relativeDebian:13 |
before 1.0.2-1 | 1.0.2-1 |
node-cached-path-relativeDebian:14 |
before 1.0.2-1 | 1.0.2-1 |
node-cached-path-relativeDebian:10 From an advisory covering 2 CVEs |
before 1.0.1-2+deb10u1, plus listed versions 1.0.1-2 |
1.0.1-2+deb10u1 |
node-cached-path-relativeUbuntu:18.04:LTS |
All versions, plus listed versions 1.0.1-1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2018-16472 is a high vulnerability (CVSS 7.5) in Cached-path-relative Project Cached-path-relative, published November 6, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.14%, the 82nd percentile. Fixed in cached-path-relative 1.0.2.