CVE-2024-57079
JavaScript vulnerability analysis and mitigation

Overview

A prototype pollution vulnerability was discovered in the lib.deepMerge function of @zag-js/core version 0.50.0. The vulnerability was disclosed on February 5, 2025 and assigned identifier CVE-2024-57079. The affected component is the core package of the Zag JS framework (NVD).

Technical details

The vulnerability exists in the lib.deepMerge function which fails to properly validate user-supplied input during object merging operations. This allows an attacker to supply a crafted payload containing Object.prototype setters that can modify properties within the global prototype chain (GitHub PoC).

Impact

Successful exploitation of this vulnerability can lead to Denial of Service (DoS) conditions at minimum. The impact could potentially escalate to other injection-based attacks if the polluted properties propagate to sensitive Node.js APIs like exec or eval, potentially enabling arbitrary command execution within the application context (GitHub PoC).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management