Medium, CVSS 6.9npmAmendedPublished
React Developer Tools extension Improper Authorization vulnerability
CVE-2023-5654 · GHSA-rxrc-rgv4-jpvx
- Affected
- npm react-devtools-core < 4.28.4
- Fixed in
- 4.28.4· Vendor fix available
- Issue
- 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.
Recommended action: Upgrade to 4.28.4 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.