Intel

AIKIDO-2024-10523

react-hook-form is vulnerable to Prototype Pollution

Prototype Pollution Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Dec 9, 2024

47

Medium Risk

This Affects:

JSreact-hook-form
2.28.2 - 7.53.2
Fixed in 7.54.0
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to prototype pollution due to insufficient safeguards. Attackers can exploit the prototype and constructor properties to manipulate object prototypes, potentially leading to unintended behavior, security breaches, or further exploitation.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

react-hook-form is vulnerable to Prototype Pollution in versions 2.28.2 - 7.53.2.

How to fix this

Upgrade the react-hook-form library to the patch version.