CVE-2020-15256
CRITICAL 9.8CVSS 3.1Prototype pollution in object-path
A prototype pollution vulnerability has been found in object-path <= 0.11.4 affecting the set() method. The vulnerability is limited to the includeInheritedProps mode (if version >= 0.11.0 is used), which has to be explicitly enabled by creating a new instance of object-path and setting the option includeInheritedProps: true, or by using the default withInheritedProps instance. The default operating mode is not affected by the vulnerability if version >= 0.11.0 is used. Any usage of set() in versions < 0.11.0 is vulnerable. The issue is fixed in object-path version 0.11.5 As a workaround, don't use the includeInheritedProps: true options or the withInheritedProps instance if using a version >= 0.11.0.
- Published
- 19 Oct 2020
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-20CWE-471
- Also known as
- GHSA-cwx2-736x-mf6w
- Sources
- NVDJSONOSV GHSA-cwx2-736x-mf6wJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | object-path_project | object-pathcpe:2.3:a:object-path_project:object-path:*:*:*:*:*:node.js:*:* |
< 0.11.5 | 0.11.5 |
| OSV | npm | object-path | < 0.11.5 | 0.11.5 |
References
- https://github.com/mariocasciaro/object-path/commit/2be3354c6c46215c7635eb1b76d80f1319403c68 · Patch, Third Party Advisory, WEB
- https://github.com/mariocasciaro/object-path/security/advisories/GHSA-cwx2-736x-mf6w · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-15256 · ADVISORY
- https://github.com/mariocasciaro/object-path · PACKAGE
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 19 Oct 2020)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 19 Oct 2020)