Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-8v8x-cx79-35w7

Опубликовано: 08 янв. 2026
Источник: github
Github: Прошло ревью
CVSS3: 8.2

Описание

React Router SSR XSS in ScrollRestoration

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.

[!NOTE] This does not impact applications if developers have disabled server-side rendering in Framework Mode, or if they are using Declarative Mode (<BrowserRouter>) or Data Mode (createBrowserRouter/<RouterProvider>).

Пакеты

Наименование

react-router

npm
Затронутые версииВерсия исправления

>= 7.0.0, < 7.12.0

7.12.0

Наименование

@remix-run/react

npm
Затронутые версииВерсия исправления

< 2.17.3

2.17.3

EPSS

Процентиль: 2%
0.00014
Низкий

8.2 High

CVSS3

Дефекты

CWE-79

Связанные уязвимости

CVSS3: 8.2
nvd
28 дней назад

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.

EPSS

Процентиль: 2%
0.00014
Низкий

8.2 High

CVSS3

Дефекты

CWE-79