CVE-2024-57068
JavaScript vulnerability analysis and mitigation

Overview

A prototype pollution vulnerability was discovered in @tanstack/form-core version 0.35.0, specifically in the lib.mutateMergeDeep function. The vulnerability was assigned CVE-2024-57068 and was disclosed on February 5, 2025 (NVD, MITRE).

Technical details

The vulnerability exists in the lib.mutateMergeDeep function of @tanstack/form-core v0.35.0. The issue allows attackers to perform prototype pollution by supplying a crafted payload with Object.prototype setter. This can introduce or modify properties within the global prototype chain. The vulnerability has been assigned a CVSS v3.1 base score of 7.5 HIGH with vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

The primary impact of this vulnerability is a potential Denial of Service (DoS) condition. However, the consequences can escalate to other injection-based attacks depending on how the library integrates within the application. If the polluted property propagates to sensitive Node.js APIs (e.g., exec, eval), it could enable an attacker to execute arbitrary commands within the application's 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