React Router vulnerable to XSS in unstable RSC redirect handling via javascript: redirect targets
React Router is a router for React. In versions 7.7.0 through 7.13.1, when using React Router's unstable React Server Components (RSC) APIs, there is a potential client-side Cross-Site Scripting (XSS) vulnerability in the RSC redirect handling if redirects come from untrusted sources. This does not impact applications that are not using the unstable RSC APIs in React Router. This is patched in version 7.13.2.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-33245
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 18:53 UTC · Revision 1
Source evidence
React Router vulnerable to XSS in unstable RSC redirect handling via javascript: redirect targets
core-osv · Original sourcePublished 2 Jun 2026, 17:14 UTC
React Router is a router for React. In versions 7.7.0 through 7.13.1, when using React Router's unstable React Server Components (RSC) APIs, there is a potential client-side Cross-Site Scripting (XSS) vulnerability in the RSC redirect handling if redirects come from untrusted sources. This does not impact applications that are not using the unstable RSC APIs in React Router. This is patched in version 7.13.2.
osv:CVE-2026-33245
Complete source record
{
"id": "287506ba0cd11d812a7be9f6e22a8fa1802a13b46bde7cb082cac56025385b82",
"url": "https://osv.dev/vulnerability/CVE-2026-33245",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "React Router vulnerable to XSS in unstable RSC redirect handling via javascript: redirect targets",
"summary": "React Router is a router for React. In versions 7.7.0 through 7.13.1, when using React Router's unstable React Server Components (RSC) APIs, there is a potential client-side Cross-Site Scripting (XSS) vulnerability in the RSC redirect handling if redirects come from untrusted sources. This does not impact applications that are not using the unstable RSC APIs in React Router. This is patched in version 7.13.2.",
"evidence": "osv:CVE-2026-33245",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-33245",
"aliases": [
"CVE-2026-33245",
"GHSA-8646-j5j9-6r62"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/remix-run/react-router",
"type": "GIT",
"events": [
{
"introduced": "63f0cd327724594f1d44fb290f92e727fe1f60d5"
},
{
"fixed": "aadb56fa532e0eaf7e7b91c1d88e1f325851eb04"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "7.7.0"
},
{
"fixed": "7.13.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"cpe": "cpe:2.3:a:shopify:react-router:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "7.7.0"
},
{
"fixed": "7.13.2"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-33245.json"
}
}
],
"modified": "2026-10-28T02:30:31.489949160Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33245.json",
"https://github.com/remix-run/react-router/security/advisories/GHSA-8646-j5j9-6r62",
"https://nvd.nist.gov/vuln/detail/CVE-2026-33245"
],
"provider_metadata": {
"cwe_ids": [
"CWE-79"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33245.json"
}
},
"related_cves": [
{
"value": "CVE-2026-33245",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 498567,
"published_at": "2026-06-02T17:14:50.377+00:00"
}