CVE-2025-59845
HIGH 8.2CVSS 3.1Apollo Embedded Sandbox and Explorer vulnerable to CSRF via window.postMessage origin-validation bypass
Apollo Studio Embeddable Explorer & Embeddable Sandbox are website embeddable software solutions from Apollo GraphQL. Prior to Apollo Sandbox version 2.7.2 and Apollo Explorer version 3.7.3, a cross-site request forgery (CSRF) vulnerability was identified. The vulnerability arises from missing origin validation in the client-side code that handles window.postMessage events. A malicious website can send forged messages to the embedding page, causing the victim’s browser to execute arbitrary GraphQL queries or mutations against their GraphQL server while authenticated with the victim’s cookies. This issue has been patched in Apollo Sandbox version 2.7.2 and Apollo Explorer version 3.7.3.
- Published
- 26 Sep 2025
- Last modified
- 9 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-346CWE-352
- Also known as
- GHSA-w87v-7w53-wwxv
- Sources
- NVDJSONOSV GHSA-w87v-7w53-wwxvJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | @apollo/sandbox | < 2.7.2 | 2.7.2 |
| OSV | npm | @apollo/explorer | < 3.7.3 | 3.7.3 |
References
- https://github.com/apollographql/embeddable-explorer/security/advisories/GHSA-w87v-7w53-wwxv · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-59845 · ADVISORY
- https://github.com/apollographql/embeddable-explorer · PACKAGE
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 26 Sep 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 26 Sep 2025)