# CVE-2025-3197: expand-object Vulnerable to Prototype Pollution via the expand() Function

- Severity: Medium 6.9 (CVSS:4.0, scored by snyk) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.52%, higher than 45% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-04-04T05:00:09.872Z
- Modified: 2026-06-17T09:19:24.277Z
- Also known as: GHSA-4vjr-hfpp-2m7w
- Weaknesses: CWE-1321
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: snyk

## Description

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__.

(As written by CVE List.)

## Affected

- expand-object: from 0.0.0 before *
- expand-object (npm): up to 0.4.2

## Every score

- snyk: CVSS:4.0 6.9 Medium `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`
- snyk: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:3.1 7.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:4.0 Medium `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`

## References

- <https://security.snyk.io/vuln/SNYK-JS-EXPANDOBJECT-5821390> (exploit, web)
- <https://gist.github.com/miguelafmonteiro/d8f66af61d14e06338b688f90c4dfa7c> (web)
- <https://github.com/jonschlinkert/expand-object/blob/master/index.js%23L13>
- <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)

## Sources

- CVE List: [CVE-2025-3197](https://www.cve.org/CVERecord?id=CVE-2025-3197), CVE Terms of Use, modified 2025-04-04
- GitHub Advisory Database: [GHSA-4vjr-hfpp-2m7w](https://github.com/advisories/GHSA-4vjr-hfpp-2m7w), CC-BY-4.0, modified 2025-04-04
- NVD: [CVE-2025-3197](https://nvd.nist.gov/vuln/detail/CVE-2025-3197), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-3197 · Whole record: https://cve.day/CVE-2025-3197.json · Rebuilt by cve.day 2026-11-25T22:58:56.038Z
