Intel

AIKIDO-2025-10673

@apollo/sandbox is vulnerable to Cross-Site Request Forgery (CSRF)

Cross-Site Request Forgery (CSRF)CVE-2025-59845 Published Oct 8, 2025

42

Medium Risk

This Affects:

JS@apollo/sandbox
0.1.0 - 2.7.2
Fixed in 2.7.3
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to a Cross-Site Request Forgery (CSRF) that allowed attackers to bypass authenticated cookies via postMessage requests due to missing origin validation. An attacker can exploit this vulnerability by tricking a user into visiting a malicious page, which would then send forged postMessage requests that were processed with the user's session, potentially leading to unauthorized actions.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

@apollo/sandbox is vulnerable to Cross-Site Request Forgery (CSRF) in versions 0.1.0 - 2.7.2.

How to fix this

Upgrade the @apollo/sandbox library to the patch version.