CVE-2026-22030Shopify React-router
Medium 6.5 No auth needed
Follow: this CVE · Shopify · Shopify React-router We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 3.1
- 6.5
- EPSS
- —
- Auth required
- No
- Published
- Jan 10, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
What happens
React Router is a router for React. In @remix-run/server-runtime version prior to 2.17.3. and react-router 7.0.0 through 7.11.0, React Router (or Remix v2) is vulnerable to CSRF attacks on document POST requests to UI routes when using server-side route action handlers in Framework Mode, or when using React Server Actions in the new unstable RSC modes. There is no impact if Declarative Mode (<BrowserRouter>) or Data Mode (createBrowserRouter/<RouterProvider>) is being used. This issue has been patched in @remix-run/server-runtime version 2.17.3 and react-router version 7.12.0.
What to do
- Apply the vendor's security update for React-router.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | @remix-run/server-runtime |
< 2.17.3 |
2.17.3 |
npm install @remix-run/server-runtime@2.17.3 |
| npm | react-router |
≥ 7.0.0 < 7.12.0 |
7.12.0 |
npm install react-router@7.12.0 |
Per OSV / GitHub Advisories (GHSA-h5cw-625j-3rxh). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| shopify | react-router | ≥ 7.0.0 ≤ 7.11.0 |
| shopify | remix-run/react | < 2.17.3 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Vendor Advisory