Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| React-Devtools | < 4.28.4 |
Related Weaknesses (CWE)
References
- https://gist.github.com/CalumHutton/1fb89b64409570a43f89d1fd3274b231PatchThird Party Advisory
- https://gist.github.com/CalumHutton/1fb89b64409570a43f89d1fd3274b231PatchThird Party Advisory
FAQ
What is CVE-2023-5654?
CVE-2023-5654 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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...
How severe is CVE-2023-5654?
CVE-2023-5654 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2023-5654?
Check the references section above for vendor advisories and patch information. Affected products include: Facebook React-Devtools.