React Router is a router for React. In versions 7.11.0 through 7.17.0, the RSCErrorHandler is missing protocol validation, allowing for redirects from untrusted sources. This issue is a follow up to CVE-2026-53667, and only affects consuming applications if they are using the unstable RSC APIs. This issue has been fixed in version 7.18.0.
React Router: Cross-site Scripting is Possible due to Missing RSCErrorHandler Protocol Validation (Incomplete fix for CVE-2026-53667)
Problem type
Affected products
remix-run
>= 7.11.0, < 7.18.0 - AFFECTED
References
https://github.com/remix-run/react-router/security/advisories/GHSA-h8fp-f39c-q6mh
https://github.com/remix-run/react-router/pull/15177
https://github.com/remix-run/react-router/commit/ce596e823f0d7b883a433af1d5a839a8b9fe0242
https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v7180
https://github.com/remix-run/react-router/releases/tag/react-router@7.18.0
GitHub Security Advisories
GHSA-h8fp-f39c-q6mh
React Router: RSCErrorHandler Missing Protocol Validation (XSS)
https://github.com/advisories/GHSA-h8fp-f39c-q6mhThis is a follow up to https://github.com/remix-run/react-router/security/advisories/GHSA-8646-j5j9-6r62. React Router was alerted of a code path in the (unstable) RSC error handling path in which redirects from untrusted sources could still result in an XSS vector via attacker-supplied redirect targets
[!NOTE] This only affects your application if you are using the unstable RSC APIs
https://github.com/remix-run/react-router/security/advisories/GHSA-h8fp-f39c-q6mh
https://github.com/remix-run/react-router/pull/15177
https://github.com/remix-run/react-router/commit/ce596e823f0d7b883a433af1d5a839a8b9fe0242
https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v7180
https://github.com/remix-run/react-router/releases/tag/react-router@7.18.0
https://github.com/advisories/GHSA-h8fp-f39c-q6mh
JSON source
https://cveawg.mitre.org/api/cve/CVE-2026-53667Click to expand
{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2026-53667",
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"dateUpdated": "2026-07-28T13:51:15.333Z",
"dateReserved": "2026-06-09T20:50:36.877Z",
"datePublished": "2026-07-27T21:21:16.084Z",
"state": "PUBLISHED"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M",
"dateUpdated": "2026-07-27T21:21:16.084Z"
},
"title": "React Router: Cross-site Scripting is Possible due to Missing RSCErrorHandler Protocol Validation (Incomplete fix for CVE-2026-53667)",
"descriptions": [
{
"lang": "en",
"value": "React Router is a router for React. In versions 7.11.0 through 7.17.0, the RSCErrorHandler is missing protocol validation, allowing for redirects from untrusted sources. This issue is a follow up to CVE-2026-53667, and only affects consuming applications if they are using the unstable RSC APIs. This issue has been fixed in version 7.18.0."
}
],
"affected": [
{
"vendor": "remix-run",
"product": "react-router",
"versions": [
{
"version": ">= 7.11.0, < 7.18.0",
"status": "affected"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"description": "CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
"cweId": "CWE-79",
"type": "CWE"
}
]
}
],
"references": [
{
"url": "https://github.com/remix-run/react-router/security/advisories/GHSA-h8fp-f39c-q6mh",
"name": "https://github.com/remix-run/react-router/security/advisories/GHSA-h8fp-f39c-q6mh",
"tags": [
"x_refsource_CONFIRM"
]
},
{
"url": "https://github.com/remix-run/react-router/pull/15177",
"name": "https://github.com/remix-run/react-router/pull/15177",
"tags": [
"x_refsource_MISC"
]
},
{
"url": "https://github.com/remix-run/react-router/commit/ce596e823f0d7b883a433af1d5a839a8b9fe0242",
"name": "https://github.com/remix-run/react-router/commit/ce596e823f0d7b883a433af1d5a839a8b9fe0242",
"tags": [
"x_refsource_MISC"
]
},
{
"url": "https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v7180",
"name": "https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v7180",
"tags": [
"x_refsource_MISC"
]
},
{
"url": "https://github.com/remix-run/react-router/releases/tag/react-router@7.18.0",
"name": "https://github.com/remix-run/react-router/releases/tag/react-router@7.18.0",
"tags": [
"x_refsource_MISC"
]
}
],
"metrics": [
{
"cvssV3_1": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N",
"attackVector": "NETWORK",
"attackComplexity": "HIGH",
"privilegesRequired": "NONE",
"userInteraction": "REQUIRED",
"scope": "CHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "LOW",
"availabilityImpact": "NONE",
"baseScore": 6.9,
"baseSeverity": "MEDIUM"
}
}
]
},
"adp": [
{
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-07-28T13:51:15.333Z"
},
"title": "CISA ADP Vulnrichment",
"metrics": [
{}
]
}
]
}
}