MediumGHSA-jjmj-jmhj-qwj2CVE-2026-53668
React Router: Open redirect leading to XSS
Published 23 Jul 2026 · Updated 8 Sept 2026
Affected packages
- Affected
- >=6.30.2 <6.30.6
- Fixed in
- 6.30.6
Update to the fixed version for your release line, for example:
npm install react-router-dom@6.30.6react-routernpm
- Affected
- >=7.9.6 <7.13.0
- Fixed in
- 7.13.0
Update to the fixed version for your release line, for example:
npm install react-router@7.13.0Details
Applications with open redirects could permit attacker crafted links to result in redirects to unexpected external location or XSS vectors.
Is GHSA-jjmj-jmhj-qwj2 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected react-router-dom, and gives you the command that fixes it.
References
- Linkgithub.com/remix-run/react-router/security/advisories/GHSA-jjmj-jmhj-qwj2
- Advisorynvd.nist.gov/vuln/detail/CVE-2026-53668
- Linkgithub.com/remix-run/react-router/pull/14718
- Linkgithub.com/remix-run/react-router/commit/3a5b5ad0e5cf9918c646509563f5c41a89226ff3
- Packagegithub.com/remix-run/react-router
- Linkgithub.com/remix-run/react-router/blob/main/CHANGELOG.md#v7180
- Linkgithub.com/remix-run/react-router/blob/v6/CHANGELOG.md#v6306
- Linkgithub.com/remix-run/react-router/releases/tag/react-router@6.30.6
- Linkgithub.com/remix-run/react-router/releases/tag/react-router@7.18.0
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.