React DevTools Extension Arbitrary URL Fetch via Unvalidated MsgListener
CVE-2023-5654 Published on October 19, 2023

The React Developer Tools extension registers a message listener with window.addEventListener('message', <listener>) in a content script that is accessible to any webpage that is active in the browser. Within the listener is code that requests a URL derived from the received message via fetch(). The URL is not validated or sanitised before it is fetched, thus allowing a malicious web page to arbitrarily fetch URLs via the victim's browser.

NVD

Vulnerability Analysis

CVE-2023-5654 is exploitable with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. An automatable proof of concept (POC) exploit exists. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality, with no impact on integrity and availability.

Attack Vector:
NETWORK
Attack Complexity:
LOW
Privileges Required:
NONE
User Interaction:
NONE
Scope:
UNCHANGED
Confidentiality Impact:
NONE
Integrity Impact:
LOW
Availability Impact:
LOW

Weakness Types

What is an AuthZ Vulnerability?

The software does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action.

CVE-2023-5654 has been classified to as an AuthZ vulnerability or weakness.

What is an Output Sanitization Vulnerability?

The software prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. As a result, the intended structure of the message is not preserved.

CVE-2023-5654 has been classified to as an Output Sanitization vulnerability or weakness.


Products Associated with CVE-2023-5654

Want to know whenever a new CVE is published for Facebook React Devtools? stack.watch will email you.

 

Affected Versions

Meta React Developer Tools Extension Version < 4.28.4 is affected by CVE-2023-5654

Exploit Probability

EPSS
0.09%
Percentile
25.87%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.