CVE-2023-5654: Medium severity react developer tools vulnerability

Published Oct 19, 2023
·
Updated

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

2 affected componentsFixes available
npm/react-devtools-core<4.28.4
4.28.4
Facebook React-devtools<4.28.4

Event History

Oct 19, 2023
CVE Published
via MITRE·02:28 PM
Data Sourced
via MITRE·02:28 PM
DescriptionSeverityWeakness
Data Sourced
03:15 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·03:31 PM
May 24, 57290
Event
via FIRST·01:24 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2023-5654?

CVE-2023-5654 is a vulnerability in the React Developer Tools extension that allows an attacker to execute arbitrary code on a user's machine.

2

How does CVE-2023-5654 affect my system?

CVE-2023-5654 affects systems where the React Developer Tools extension version 4.28.4 or earlier is installed.

3

What is the severity of CVE-2023-5654?

CVE-2023-5654 has a severity rating of 6.5, which is considered medium.

4

How can I fix CVE-2023-5654?

To fix CVE-2023-5654, update the React Developer Tools extension to version 4.28.4 or later.

5

Where can I find more information about CVE-2023-5654?

More information about CVE-2023-5654 can be found at the following references: [Link to GitHub Gist](https://gist.github.com/CalumHutton/1fb89b64409570a43f89d1fd3274b231), [Link to NVD](https://nvd.nist.gov/vuln/detail/CVE-2023-5654), [Link to GitHub Pull Request](https://github.com/facebook/react/pull/27417).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203