CVE-2025-59057 React Router has XSS Vulnerability
설명
React Router is a router for React. In @remix-run/react versions 1.15.0 through 2.17.0. and react-router versions 7.0.0 through 7.8.2, a XSS vulnerability exists in in React Router's meta()/<Meta> APIs in Framework Mode when generating script:ld+json tags which could allow arbitrary JavaScript execution during SSR if untrusted content is used to generate the tag. There is no impact if the application is being used in Declarative Mode (<BrowserRouter>) or Data Mode (createBrowserRouter/<RouterProvider>). This issue has been patched in @remix-run/react version 2.17.1 and react-router version 7.9.0.
영향 받는 제품 제품 1개
-
remix-run
react-router
영향 받는 버전
- 버전 정보 확인 필요
해결 버전
해결된 버전 정보가 없습니다.
패키지 기준 해결 버전 패키지 2개
-
해결 버전 있음
npm · react-router
영향 받는 버전 · 해결 버전
- 영향 7.0.0 이상 7.9.0 미만 · 해결 7.9.0 이상
-
해결 버전 있음
npm · @remix-run/react
영향 받는 버전 · 해결 버전
- 영향 1.15.0 이상 2.17.1 미만 · 해결 2.17.1 이상
출처: GitHub Advisory Database · CC-BY 4.0