merge-deep-composed before 0.1.6 Prototype Pollution via _mergeDeepOne()
- State
- Published
- Severity
- 6.9 Medium
- Published
- Nov 25, 2026
- Updated
- Nov 28, 2026
- Reserved
- Nov 25, 2026
Description
merge-deep-composed before 0.1.6 contains a prototype pollution vulnerability in _mergeDeepOne() that allows remote attackers to modify Object.prototype by supplying __proto__ keys. Attackers can pass JSON-parsed input containing __proto__ as a merge source to inject inherited properties, causing logic bypass or denial of service in Node.js processes.
| Product | Versions |
|---|---|
| merge-deep-composed shanewholloway | before 0.1.6 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.9 Medium | VulnCheck | |
| 3.1 | 7.3 High | VulnCheck |
Weaknesses
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
References
- GitHub Security Advisory (GHSA-g838-x865-33cw)Vendor Advisory
- https://github.com/shanewholloway/node-merge-deep-composed/commit/e275db9d369fcecd89c7e134c5f14a52d213a329Patch
- https://github.com/shanewholloway/node-merge-deep-composed/blob/869c4551b086d5e3ea9402bc7c74603800ad1b88/index.js#L68-L99Technical Details
- VulnCheck Advisory: merge-deep-composed before 0.1.6 Prototype Pollution via _mergeDeepOne()Third-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.