CVE-2018-16472
HIGH 7.5CVSS 3.1Prototype 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.
- Published
- 6 Nov 2018
- Last modified
- 17 Jun 2026
- Assigned by
- support@hackerone.com
- NVD status
- Modified
- Weakness
- CWE-20CWE-400
- Also known as
- GHSA-hc9w-4p87-j549
- Sources
- NVDJSONOSV GHSA-hc9w-4p87-j549JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | cached-path-relative_project | cached-path-relativecpe:2.3:a:cached-path-relative_project:cached-path-relative:*:*:*:*:*:node.js:*:* |
<= 1.0.1 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| OSV | npm | cached-path-relative | < 1.0.2 | 1.0.2 |
References
- https://hackerone.com/reports/390847 · Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2022/12/msg00006.html · Mailing List, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-16472 · ADVISORY
- https://github.com/ashaffer/cached-path-relative/issues/3 · WEB
- https://github.com/advisories/GHSA-hc9w-4p87-j549 · ADVISORY
- https://github.com/nodejs/security-wg/blob/master/vuln/npm/480.json · WEB
- https://www.npmjs.com/advisories/739 · WEB
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 6 Nov 2018)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 7 Nov 2018)