CVE-2023-5654Facebook React-devtools
Medium 6.5 No auth needed
Follow: this CVE · Facebook · Facebook React-devtools We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 3.1
- 6.5
- EPSS
- 0.7% probability of exploitation in 30 days · percentile 47
- Auth required
- No
- Published
- Oct 19, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
What happens
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.
What to do
- Apply the vendor's security update for React-devtools.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | react-devtools-core |
< 4.28.4 |
4.28.4 |
npm install react-devtools-core@4.28.4 |
Per OSV / GitHub Advisories (GHSA-rxrc-rgv4-jpvx). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| react-devtools | < 4.28.4 |
Official sources
References
Links published by the sources. Open them with care.
- gist.github.com Patch Third Party Advisory