CVE-2026-21884
highpriority · track · 0EPSS 0.005 · 45 %ileDEEUUSEPSS · scored 2026-10-27
React Router is a router for React. In @remix-run/react version prior to 2.17.3. and react-router 7.0.0 through 7.11.0, a XSS vulnerability exists in in React Router's <ScrollRestoration> API in Framework Mode when using the getKey/storageKey props during Server-Side Rendering which could allow arbitrary JavaScript execution during SSR if untrusted content is used to generate the keys. There is no impact if server-side rendering in Framework Mode is disabled, or if Declarative Mode (<BrowserRouter>) or Data Mode (createBrowserRouter/<RouterProvider>) is being used. This issue has been patched in @remix-run/react version 2.17.3 and react-router version 7.12.0.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (13)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2026-0752IBM SPSS: Mehrere SchwachstellenDeutsch2026-03-16csaf · cert_bundDE
Ein Angreifer kann mehrere Schwachstellen in IBM SPSS ausnutzen, um einen Cross-Site Scripting Angriff durchzuführen, um einen Denial of Service Angriff durchzuführen, und um Dateien zu manipulieren.
- GHSA-8v8x-cx79-35w7React Router SSR XSS in ScrollRestoration2026-01-08ghsa · osvUS
A XSS vulnerability exists in in React Router's `<ScrollRestoration>` API in [Framework Mode](https://reactrouter.com/start/modes#framework) when using the `getKey`/`storageKey` props during Server-Side Rendering which could allow arbitrary JavaScript execution during SSR if untrusted content is used to generate the keys. > [!NOTE] > This does not impact applications if developers have [disabled server-side rendering](https://reactrouter.com/how-to/spa) in Framework Mode, or if they are using [Declarative Mode](https://reactrouter.com/start/modes#declarative) (`<BrowserRouter>`) or [Data Mode](https://reactrouter.com/start/modes#data) (`createBrowserRouter`/`<RouterProvider>`).
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (12)
External citations — patches, advisories, analysis.
- https://github.com/remix-run/react-router/security/advisories/GHSA-8v8x-cx79-35w7cnnvd
- https://reactrouter.com/Patchcnnvd
- https://vigilance.fr/vulnerability/React-Router-three-vulnerabilities-dated-06-03-2026-49931cnnvd
- https://github.com/remix-run/react-router/security/advisories/GHSA-8v8x-cx79-35w7enisa_euvd
- https://access.redhat.com/errata/RHSA-2026:19712nvd
- https://access.redhat.com/errata/RHSA-2026:3782nvd
- https://access.redhat.com/errata/RHSA-2026:3958nvd
- https://access.redhat.com/errata/RHSA-2026:3960nvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan