Skip to content

Cross-Site Scripting (XSS) in react-router

CVE-2026-33245 First seen on SecPulse

Summary

Cross-site scripting in react-router (CVE-2026-33245). Confidential information can be exposed externally. Mitigation: upgrade to >=7.13.2 or later.

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

React RouterのunstableなReact Server Components(RSC)APIを使用している場合、信頼できない発信元からのリダイレクト処理にクロスサイトスクリプティング(XSS)の脆弱性があります。対象はnpmパッケージreact-routerのバージョン7.7.0から7.13.1で、7.13.2で修正されています。修正版へのアップデートをおすすめします。

What is the problem

React RouterにおけるクライアントサイドXSSの脆弱性。

Affected scope

バージョン7.7.0から7.13.1のReact RouterのRSC API。

Severity

信頼できないソースからのリダイレクトにより、クライアントサイドでXSS攻撃が可能。

How to fix

React Routerをバージョン7.13.2にアップデートしてください。

Workaround

RSC APIを使用しないか、信頼できるソースからのリダイレクトのみを許可する。

Detection

アプリケーションがRSC APIを使用しているか確認し、リダイレクト元のソースをチェックする。

Affected packages

PackageAffected → Fixed
npmreact-router
≥ 7.7.0, < 7.13.2→ 7.13.2
Original description The description as published by the source.

React Router is a router for React. In versions 7.7.0 through 7.13.1, when using React Router's unstable React Server Components (RSC) APIs, there is a potential client-side Cross-Site Scripting (XSS) vulnerability in the RSC redirect handling if redirects come from untrusted sources. This does not impact applications that are not using the unstable RSC APIs in React Router. This is patched in version 7.13.2.

Source: NIST National Vulnerability Database NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details