React Router vulnerable to XSS in unstable RSC redirect handling via javascript: redirect targets
Summary
React Router vulnerable to XSS in unstable RSC redirect handling via javascript: redirect targets
Original description
The description as published by the source.
When using React Router v7's unstable RSC APIs, there exists a potential client-side XSS issue in the RSC redirect handling if redirects are coming from untrusted sources
[!NOTE]
This only impacts your application if you are using the unstable RSC APIs in React Router.
Source: NIST National Vulnerability Database NVD GitHub Advisory
AI summary
Written by an external AI model and may contain mistakes. Check the original description and references below before acting on it.
React Routerのバージョン7.7.0から7.13.1には、React Server Components (RSC) APIを使用する際にクライアントサイドXSSの脆弱性があります。この脆弱性は信頼できないソースからのリダイレクト処理で発生しますが、RSC APIを使用していないアプリケーションには影響しません。バージョン7.13.2で修正されています。
React RouterにおけるクライアントサイドXSSの脆弱性。
バージョン7.7.0から7.13.1のReact RouterのRSC API。
信頼できないソースからのリダイレクトにより、クライアントサイドでXSS攻撃が可能。
React Routerをバージョン7.13.2にアップデートしてください。
RSC APIを使用しないか、信頼できるソースからのリダイレクトのみを許可する。
アプリケーションがRSC APIを使用しているか確認し、リダイレクト元のソースをチェックする。
Affected packages
References
- advisory nvd.nist.gov
- package github.com
- patch security-advisories@github.com
- web github.com