React Developer Tools extension Improper Authorization vulnerability
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 URL’s via the victim's browser.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | react-devtools-core | < 4.28.4 | 4.28.4 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-5654
- https://github.com/facebook/react/pull/27417
- https://github.com/facebook/react/commit/09285d5a7f1c08bec09f44cec3d0518a603597fc
- https://github.com/facebook/react/commit/94d5b5b2bf5204ebd289a113989c0e2c51b626ef
- https://gist.github.com/CalumHutton/1fb89b64409570a43f89d1fd3274b231
- https://github.com/facebook/react
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L- Weakness (CWE)
CWE-116, CWE-285- Platform
- npm
- Package
react-devtools-core- Disclosed
- 19.10.2023
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-rxrc-rgv4-jpvx - CC BY 4.0
Vulnerability history: react-devtools-core
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.