Vulnerabilities

CVE-2026-22030

Medium 6.5 CVSS 3.1

Description

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.

Description as published by the source, in English.

Key facts

Published
2026-01-10
Last modified
2026-06-17
Assigned by
security-advisories@github.com
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Scored by
security-advisories@github.com
Probability of exploitation
0.1 % higher than 3 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
react-router (npm) ≥ 7.0.0, < 7.12.0 Affected
remix-run server-runtime (npm) < 2.17.3 Affected
Shopify React-router ≥ 7.0.0, ≤ 7.11.0 Affected
Shopify Remix-run/react < 2.17.3 Affected

Weakness type

  • CWE-346: Origin Validation Error

    The product does not properly verify that the source of data or communication is valid.

  • CWE-352: Cross-Site Request Forgery

    The web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor.

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1134: Access Token Manipulation stealth, privilege-escalation
  • T1134.001: Token Impersonation/Theft stealth, privilege-escalation
  • T1528: Steal Application Access Token credential-access
  • T1539: Steal Web Session Cookie credential-access
  • T1550.004: Web Session Cookie lateral-movement
  • T1557.002: ARP Cache Poisoning credential-access, collection
  • T1584.002: DNS Server resource-development

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities