Advisory

GHSA-rxrc-rgv4-jpvx

Also known as: CVE-2023-5654

Summary

React Developer Tools extension Improper Authorization vulnerability

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2023-10-19 15:31 UTC
Modified
2024-09-12 18:41 UTC

Affected packages and fixes

react-devtools-core

npm · All systems

Affected

  • introduced 0, fixed 4.28.4 (semver)

Fixed versions

4.28.4

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences