Skip to content

CVE-2025-59845 Apollo Embedded Sandbox and Explorer vulnerable to CSRF via window.postMessage origin-validation bypass

HighCVSS 8.2 EPSS 0.17%
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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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