CVE-2023-5654: React Developer Tools - Cross-Site Request Forgery
- Cve: CVE-2023-5654
- Name: React Developer Tools - Cross-Site Request Forgery
- 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.
- Impact: Malicious webpages can cause the victim's browser to perform arbitrary fetch requests, potentially leading to information disclosure or cross-site request forgery.
- Remediation: Implement validation and sanitization of URLs received from messages before using fetch().
- Vulnerability type: cross_site_request_forgery
- Vulnerability impact: information_disclosure
- Requirement type: user_interaction
- Requirements: Attacker needs victim to visit malicious webpage and send crafted message
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
- Epss score: 0.00558
- Epss percentile: 0.47367
- Assignee: [email protected]
- Published at: 2023-10-19T15:15:09Z
- Age in days: 1132
- Modified at: 2026-06-17T06:49:01Z
- Patch available: yes
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-5654
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-285 | Improper Authorization |
| NVD-CWE-noinfo | — |
| CWE-116 | Improper Encoding or Escaping of Output |
References
| Url | Source | Tags |
|---|---|---|
| https://gist.github.com/CalumHutton/1fb89b64409570a43f89d1fd3274b231 | nvd | Patch, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| facebook:react-devtools | < 4.28.4 | no | nvd | /v1/products/facebook/react-devtools |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| facebook/react | commit, fix, package, pull | yes | /v1/repositories/facebook/react |
Index
- Repositories: 40
- Repositories high signal: 17
- Packages: 1
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts