Advisory

GHSA-4vjr-hfpp-2m7w

Also known as: CVE-2025-3197

Summary

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

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-04-04 06:34 UTC
Modified
2025-04-04 19:27 UTC

Affected packages and fixes

expand-object

npm · All systems

Affected

  • introduced 0, last affected 0.4.2 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences