CVE-2025-59845 Apollo Embedded Sandbox and Explorer vulnerable to CSRF via window.postMessage origin-validation bypass
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| apollo @apollo/explorer(npm) | < 3.7.3 | 3.7.3 | Fixed |
| apollo @apollo/sandbox(npm) | < 2.7.2 | 2.7.2 | Fixed |
| apollographql embeddable-explorer | = < 2.7.2; = < 3.7.3 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| apollo @apollo/sandbox(npm) | < 2.7.2 | 2.7.2 |
| apollo @apollo/explorer(npm) | < 3.7.3 | 3.7.3 |
| apollographql embeddable-explorer | = < 2.7.2 | No fix listed |
| apollographql embeddable-explorer | = < 3.7.3 | No fix listed |
References
- https://github.com/apollographql/embeddable-explorer/security/advisories/GHSA-w87v-7w53-wwxv vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product