{"id":"CVE-2025-3197","aliases":["CVE-2025-3197","GHSA-4vjr-hfpp-2m7w"],"related":[],"kind":"vulnerability","state":"published","title":"expand-object Vulnerable to Prototype Pollution via the expand() Function","summary":"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__.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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__.","source":"cvelist"},{"lang":"en","text":"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__.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Las versiones del paquete expand-object a partir de la versión 0.0.0 son vulnerables a la contaminación de prototipos en la función expand() de index.js. Esta función expande la cadena dada en un objeto y permite configurar una propiedad anidada sin comprobar las claves proporcionadas para propiedades sensibles como __proto__.","source":"nvd"}],"published":"2025-04-04T05:00:09.872Z","modified":"2026-06-17T09:19:24.277Z","severity":{"scorer":"snyk","scheme":"CVSS:4.0","vector":"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","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"snyk","scheme":"CVSS:4.0","vector":"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","score":6.9,"rating":"MEDIUM"},{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":7.3,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":7.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"}],"cwes":["CWE-1321"],"affected":[{"ranges":[{"type":"semver","introduced":"0.0.0","fixed":"*","status":"affected"}],"product":"expand-object","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"0.4.2"}],"ecosystem":"npm","package":"expand-object","purl":"pkg:npm/expand-object","source":"ghsa"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-EXPANDOBJECT-5821390","tags":["exploit","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://gist.github.com/miguelafmonteiro/d8f66af61d14e06338b688f90c4dfa7c","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/jonschlinkert/expand-object/blob/master/index.js%23L13","tags":[],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-3197","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/jonschlinkert/expand-object","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/jonschlinkert/expand-object/blob/master/index.js#L13","tags":["web"],"sources":["ghsa"]}],"credits":["Miguel Monteiro"],"assigner":"snyk","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2025-04-04T14:16:44.828Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-3197","url":"https://www.cve.org/CVERecord?id=CVE-2025-3197","licence":"CVE Terms of Use","modified":"2025-04-04T14:17:14.575Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4vjr-hfpp-2m7w","url":"https://github.com/advisories/GHSA-4vjr-hfpp-2m7w","licence":"CC-BY-4.0","modified":"2025-04-04T19:27:20.379Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-3197","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-3197","licence":"Public domain","modified":"2026-06-17T09:19:24.277Z"}],"updatedAt":"2026-11-25T22:58:56.038Z","epss":{"score":0.00519,"percentile":0.45623,"date":"2026-12-01T12:00:22.000Z"}}