6.9medium
expand-object Vulnerable to Prototype Pollution via the expand() Function
- Severity
- 6.9medium CVSS:4.0 by snyk
- Exploit likelihood
- 0.52% (higher than 45% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-4vjr-hfpp-2m7w
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__.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| expand-object | from 0.0.0 before * | CVE List |
| expand-object (npm) | up to 0.4.2 | GitHub Advisory Database |
All scores
| snyk | 6.9medium 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 |
| snyk | 7.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| GitHub | 7.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| GitHub | medium 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 |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
What each source says
CVE List
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__.
GitHub Advisory Database
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.
NVD (es)
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__.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-3197 changed 2025-04-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-4vjr-hfpp-2m7w changed 2025-04-04 | CC-BY-4.0 |
| NVD | CVE-2025-3197 changed 2026-06-17 | Public domain |