Description
All versions of unflatten are vulnerable to prototype pollution. The function unflatten does not restrict the modification of an Object’s prototype, which may allow an attacker to add or modify an existing property that will exist on all objects.
Recommendation
No fix is available yet. Followings are affected versions:
- >= 0.0.0
References
Related Issues
- Velocity.js has a Prototype Pollution vulnerability through #set path assignment - CVE-2026-44966
- Prototype Pollution in json-logic-js - Vulnerability
- Prototype pollution vulnerability found in Mermaid's bundled version of DOMPurify - Vulnerability
- Prototype Pollution in safe-object2 - safe-object2 - Vulnerability
You might also like:
- Tags:
- npm
- unflatten
Anything's wrong? Let us know Last updated on January 09, 2023


