safe-flat@2.0.1 vulnerabilities

Safely flatten a nested JavaScript object.

Direct Vulnerabilities

Known vulnerabilities in the safe-flat package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Prototype Pollution

safe-flat is a Safely flatten a nested JavaScript object.

Affected versions of this package are vulnerable to Prototype Pollution due to improper validation of the obj argument of the unflatten() function.

How to fix Prototype Pollution?

Upgrade safe-flat to version 2.0.2 or higher.

>=2.0.0 <2.0.2