~ / search / GHSA-rxrc-rgv4-jpvx

GHSA-rxrc-rgv4-jpvx

React Developer Tools extension Improper Authorization vulnerability

Source: GitHub Advisory Database (reviewed) Moderate CVE-2023-5654

Packages

EcosystemPackageAffectedFixed in
npm react-devtools-core < 4.28.4 4.28.4

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.