CVE-2025-3197
JSON

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 packageVersionsReported by
expand-objectfrom 0.0.0 before *CVE List
expand-object (npm)up to 0.4.2GitHub Advisory Database

All scores

snyk6.9medium CVSS:4.0CVSS: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
snyk7.3high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
GitHub7.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
GitHubmedium CVSS:4.0CVSS: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

CWE-1321

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

SourceRecordLicence
CVE ListCVE-2025-3197 changed 2025-04-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-4vjr-hfpp-2m7w changed 2025-04-04CC-BY-4.0
NVDCVE-2025-3197 changed 2026-06-17Public domain