CVE-2023-5654
Description
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.
How to fix
- facebook react-devtools4.28.4 or later
- react-devtools-core4.28.4 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| facebook react-devtools | v < 4.28.4 | 4.28.4 |
| react-devtools-corenpm | v < 4.28.4 | 4.28.4 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.