Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. react-router
  4. ›
  5. CVE-2026-22029

CVE-2026-22029: React Router vulnerable to XSS via Open Redirects

January 8, 2026 (updated January 11, 2026)

React Router (and Remix v1/v2) SPA open navigation redirects originating from loaders or actions in Framework Mode, Data Mode, or the unstable RSC modes can result in unsafe URLs causing unintended javascript execution on the client. This is only an issue if developers are creating redirect paths from untrusted content or via an open redirect.

[!NOTE] This does not impact applications that use Declarative Mode (<BrowserRouter>).

References

  • github.com/advisories/GHSA-2w69-qvjg-hvjx
  • github.com/remix-run/react-router
  • github.com/remix-run/react-router/security/advisories/GHSA-2w69-qvjg-hvjx
  • nvd.nist.gov/vuln/detail/CVE-2026-22029

Code Behaviors & Features

Detect and mitigate CVE-2026-22029 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 7.0.0 before 7.12.0

Fixed versions

  • 7.12.0

Solution

Upgrade to version 7.12.0 or above.

Impact 8 HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

npm/react-router/CVE-2026-22029.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 22 Jan 2026 00:16:37 +0000.