CVE-2025-3197
MEDIUM 5.5CVSS 4.0expand-object Vulnerable to Prototype Pollution via the expand() Function
Versions of the package expand-object from 0.0.0 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.
- Published
- 4 Apr 2025
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Deferred
- Weakness
- CWE-1321
- Also known as
- GHSA-4vjr-hfpp-2m7w
- Sources
- NVDJSONOSV GHSA-4vjr-hfpp-2m7wJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | report@snyk.io (Secondary) | CVSS 4.0 | MEDIUM 5.5 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X | |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | expand-object | <= 0.4.2 |
References
- https://gist.github.com/miguelafmonteiro/d8f66af61d14e06338b688f90c4dfa7c · WEB
- https://github.com/jonschlinkert/expand-object/blob/master/index.js%23L13
- https://security.snyk.io/vuln/SNYK-JS-EXPANDOBJECT-5821390 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-3197 · ADVISORY
- https://github.com/jonschlinkert/expand-object · PACKAGE
- https://github.com/jonschlinkert/expand-object/blob/master/index.js#L13 · WEB
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 4 Apr 2025)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 4 Apr 2025)