Intel

AIKIDO-2025-10755

@reduxjs/toolkit is vulnerable to Exposure of Resource to Wrong Sphere

Exposure of Resource to Wrong Sphere Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Oct 31, 2025

75

High Risk

This Affects:

JS@reduxjs/toolkit
2.9.0 - 2.9.1
Fixed in 2.9.2
Are you affected? Scan for Free

TL;DR

Affected versions of this package may expose internal subscription state across multiple Redux store instances in SSR (Server-Side Rendering) environments due to a shared InternalMiddlewareState reference. This bug allows unintended data persistence or leakage of active subscription metadata between stores. The patch ensures that subscription data is correctly scoped per store using a WeakMap<Dispatch, Thing>, preventing cross-store data exposure and improving cleanup reliability.

Who does this affect?

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

Background info

@reduxjs/toolkit is vulnerable to Exposure of Resource to Wrong Sphere in versions 2.9.0 - 2.9.1.

How to fix this

Upgrade the @reduxjs/toolkit library to the patch version.