ADVISORIES

GitHub Advisory Database

GHSA-4vjr-hfpp-2m7w

expand-object Vulnerable to Prototype Pollution via the expand() Function

Moderate No fix available CVE-2025-3197

Details

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

Affected packages

EcosystemPackageAffected versions
npmexpand-object
All versions up to and including 0.4.2

References