Improper Authorization vulnerability in React Developer Tools extension

react-devtools-core Updated 02 Oct 2025

Summary

19/10/2023
Yes i
Moderate
6.5

CVE-2023-5654: React Developer Tools extension Improper Authorization vulnerability. Affects react-devtools-core versions < 4.28.4. Fixed in 4.28.4. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

React Developer Tools is a browser extension that allows developers to inspect and debug React components in their applications. It provides a set of tools and features to analyze the component hierarchy, inspect props and state, and monitor component performance. The extension is widely used by React developers to enhance their development workflow and improve the quality of their applications. However, a vulnerability has been discovered in the extension that could allow malicious websites to exploit improper authorization and fetch arbitrary URLs through the victim's browser.

Vulnerability Detail

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 sanitized before it is fetched, thus allowing a malicious web page to arbitrarily fetch URLs via the victim's browser. This vulnerability can lead to various attacks, such as cross-site scripting (XSS), data exfiltration, and remote code execution.

How To Fix

Minimum fixed version

4.28.4

This is the first release that contains the fix.

npm install react-devtools-core@4.28.4

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can disable or uninstall the React Developer Tools extension to mitigate the risk of exploitation. However, this may impact the ability to inspect and debug React components in the browser.

Conclusion

The React Developer Tools extension is vulnerable to an improper authorization issue that allows malicious websites to fetch arbitrary URLs through the victim's browser. It is crucial to update the extension to the latest version or follow the recommended fixes to mitigate the risk of exploitation. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for react-devtools-core →

Share this vulnerability

FAQ

The React Developer Tools extension is a browser extension that allows developers to inspect and debug React components in their applications.

The vulnerability allows malicious websites to exploit improper authorization in the extension and fetch arbitrary URLs through the victim's browser.

The vulnerability can lead to various attacks, such as cross-site scripting (XSS), data exfiltration, and remote code execution.

To fix this vulnerability, the React Developer Tools extension should implement proper authorization checks before fetching URLs and consider implementing a content security policy (CSP).

As a temporary workaround, users can disable or uninstall the React Developer Tools extension to mitigate the risk of exploitation.

How To Fix

Minimum fixed version

4.28.4

This is the first release that contains the fix.

npm install react-devtools-core@4.28.4

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback