Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
📦
📦 npm
Not in CISA KEV
MEDIUM severity

CVE-2026-53668 — react-router-dom

MEDIUMFix: remix-run/react-router@3a5b5ad

CVE-2026-53668 is a medium-severity (CVSS 6.9) Cross-site Scripting (XSS) vulnerability in react-router-dom. A fix is available for react-router-dom — see the affected versions and patch details below.

React Router: Open redirect can lead to XSS

Also known asGHSA-jjmj-jmhj-qwj2
Published
Updated
Affected
2 pkgs
Patched
2 / 2
Exploits
None indexed
Exploitation data as of Oct 23, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for CVE-2026-53668.

EPSS Exploitation Probability

via FIRST.org ↗
0.3%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs26th percentile — riskier than 26% of all scored CVEsHighest risk
0.00%0.28%0.56%0.84%0.3%0.3%0.3%0.3%Aug 26Oct 26Oct 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

CVE-2026-53668 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.

Where this sits among everything scored

Of 395,308 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.

Real-World Exposure

2 pkgs affected

How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.

24Kother npm packages depend on this — each one inherits the vulnerability until it's patched upstream
react-router-domnpm
27.5Mdownloads / week
react-routernpm
35.6Mdownloads / week

Description

React Router is a router for React. In versions 6.30.2 through 6.30.4 and 7.9.6 through 7.12.0, applications that allow open redirects are vulnerable to XSS. An attacker could craft a malicious link that redirects users to an unexpected external site or that exploits an XSS vector.This issue has been fixed in version 7.13.0.

Affected Packages

2 total 2 fixed
EcosystemPackageVulnerable rangeFix
📦npmreact-router-dom≥ 6.30.2&&< 6.30.66.30.6npm install react-router-dom@6.30.6
📦npmreact-router≥ 7.9.6&&< 7.13.07.13.0npm install react-router@7.13.0

Affected Products

1 product · 2 configurations
Application
react-routershopify
≥ 7.9.6 && ≤ 6.30.4
range

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for react-router-dom, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update react-router-dom to 6.30.6 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2026-53668 is resolved across your whole dependency graph.

  3. Workarounds

    Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.

Frequently Asked Questions

React Router is a router for React. In versions 6.30.2 through 6.30.4 and 7.9.6 through 7.12.0, applications that allow open redirects are vulnerable to XSS. An attacker could craft a malicious link that redirects users to an unexpected external site or that exploits an XSS vector.This issue has been fixed in version 7.13.0.
O3 Security · Impact-Aware SCA

Is CVE-2026-53668 in your dependencies?

Find it across npm, including transitive dependencies.

CVE-2026-53668: react-router-dom XSS — Fixed in 6.30.6