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

exploitDog

redhat логотип

CVE-2026-40181

Опубликовано: 02 июн. 2026
Источник: redhat
CVSS3: 5.4
EPSS Низкий

Описание

React Router is a router for React. In versions 7.0.0 through 7.14.0 and 6.7.0 through 6.30.3, certain URLs passed to the redirect function can trigger an open redirect to an external domain due to path values starting with // being reinterpreted as protocol-relative URLs. The level of impact depends on the validation done by the application prior to returning the redirect. This does not impact applications using Declarative Mode (). This is patched in versions 7.14.1 and 6.30.4.

A flaw was found in React Router. This vulnerability allows a remote attacker to redirect users to an external, potentially malicious, website. This occurs when specially crafted URLs, containing paths starting with //, are passed to the redirect function, causing them to be misinterpreted as protocol-relative URLs. The severity of the impact depends on how the application validates redirects.

Отчет

A Moderate impact open redirect vulnerability exists in React Router, affecting versions 7.0.0 through 7.14.0 and 6.7.0 through 6.30.3. This flaw allows a remote attacker to redirect users to arbitrary external websites by crafting URLs that begin with //, which are then misinterpreted as protocol-relative. The exploitability and actual impact on Red Hat products depend on the specific application's redirect validation logic. Applications utilizing React Router in Declarative Mode (<BrowserRouter>) are not affected by this issue.

Меры по смягчению последствий

Application developers using React Router in Red Hat products should implement robust URL validation before performing redirects to prevent misinterpretation of protocol-relative URLs. Additionally, applications configured with Declarative Mode () are not impacted by this vulnerability. Users should exercise caution when interacting with untrusted links.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Cryostat 4cryostat-openshift-console-plugin-npmFix deferred
Cryostat 4grafana-infinity-datasource-npmFix deferred
Cryostat 4react-routerFix deferred
Exploit Intelligenceexploit-intelligence-tech-preview/agent-client-rhel9Fix deferred
Gatekeeper 3gatekeeper/gatekeeper-rhel9Fix deferred
Migration Toolkit for Applications 8mta/mta-ui-rhel8Fix deferred
Migration Toolkit for Applications 8mta/mta-ui-rhel9Fix deferred
Migration Toolkit for Containersrhmtc/openshift-migration-ui-rhel8Fix deferred
Migration Toolkit for Virtualizationmigration-toolkit-virtualization/mtv-console-plugin-rhel9Fix deferred
Migration Toolkit for Virtualizationmtv-candidate/mtv-console-plugin-rhel9Fix deferred

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-601
https://bugzilla.redhat.com/show_bug.cgi?id=2484112react-router: React Router: Open redirect vulnerability via specially crafted URLs

EPSS

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

5.4 Medium

CVSS3

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

CVSS3: 6.1
nvd
около 2 месяцев назад

React Router is a router for React. In versions 7.0.0 through 7.14.0 and 6.7.0 through 6.30.3, certain URLs passed to the redirect function can trigger an open redirect to an external domain due to path values starting with // being reinterpreted as protocol-relative URLs. The level of impact depends on the validation done by the application prior to returning the redirect. This does not impact applications using Declarative Mode (<BrowserRouter>). This is patched in versions 7.14.1 and 6.30.4.

github
около 2 месяцев назад

React Router's same-origin redirect with path starting // causes open redirect via protocol-relative URL reinterpretation

suse-cvrf
5 дней назад

Security update for agama-web-ui

EPSS

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

5.4 Medium

CVSS3

Уязвимость CVE-2026-40181