CVEvulnerability
CVE-2023-5654
6.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2023-10-19
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 6.5 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
- CVSS 3.1 ([email protected])
- 6.5 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
- Weaknesses
- CWE-116, CWE-285
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.
Affected configurations
• facebook react-devtools (< 4.28.4)
Related
References
- https://gist.github.com/CalumHutton/1fb89b64409570a43f89d1fd3274b231 Patch, Third Party Advisory
- https://gist.github.com/CalumHutton/1fb89b64409570a43f89d1fd3274b231 Patch, Third Party Advisory