Skip to content

React Developer Tools extension Improper Authorization vulnerability

Moderate severity GitHub Reviewed Published Oct 19, 2023 to the GitHub Advisory Database • Updated Nov 7, 2023

Package

npm react-devtools-core (npm)

Affected versions

< 4.28.4

Patched versions

4.28.4

Description

The React Developer Tools extension registers a message listener with window.addEventListener('message', ) 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 URL’s via the victim's browser.

References

Published by the National Vulnerability Database Oct 19, 2023
Published to the GitHub Advisory Database Oct 19, 2023
Reviewed Oct 20, 2023
Last updated Nov 7, 2023

Severity

Moderate
6.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L

Weaknesses

CVE ID

CVE-2023-5654

GHSA ID

GHSA-rxrc-rgv4-jpvx

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.