high7.3
CVE-2025-3197
expand-object Vulnerable to Prototype Pollution via the expand() Function
Impact
Versions of the package expand-object from 0.0.0 to 0.4.2 are vulnerable to Prototype Pollution in the expand() function in index.js. This function expands the given string into an object and allows a nested property to be set without checking the provided keys for sensitive properties like __proto__.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | expand-object | <= 0.4.2 | none recorded |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://gist.github.com/miguelafmonteiro/d8f66af61d14e06338b688f90c4dfa7c
- https://github.com/jonschlinkert/expand-object/blob/master/index.js%23L13
- https://security.snyk.io/vuln/SNYK-JS-EXPANDOBJECT-5821390
- https://github.com/advisories/GHSA-4vjr-hfpp-2m7w
- https://nvd.nist.gov/vuln/detail/CVE-2025-3197
- https://github.com/jonschlinkert/expand-object/blob/master/index.js#L13