A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-33245

CVE-2026-33245: React Router RSC XSS Vulnerability

CVE-2026-33245 is a client-side XSS flaw in React Router's unstable RSC APIs affecting versions 7.7.0 to 7.13.1. This article covers the technical details, affected versions, security impact, and mitigation steps.

Published: June 4, 2026

CVE-2026-33245 Overview

CVE-2026-33245 is a client-side Cross-Site Scripting (XSS) vulnerability in React Router, a routing library for React applications. The flaw affects versions 7.7.0 through 7.13.1 when applications use the unstable React Server Components (RSC) APIs. The vulnerability resides in the RSC redirect handling logic, which can process untrusted redirect targets without proper sanitization. Applications that do not use the unstable RSC APIs are not impacted. The maintainers patched the issue in version 7.13.2. The vulnerability is classified under [CWE-79], Improper Neutralization of Input During Web Page Generation.

Critical Impact

Attackers can execute arbitrary JavaScript in a victim's browser by supplying crafted redirect responses, enabling session theft, account takeover, and client-side data exfiltration.

Affected Products

  • React Router versions 7.7.0 through 7.13.1
  • React applications using the unstable React Server Components (RSC) APIs
  • Server-side rendered React applications relying on RSC redirect flows

Discovery Timeline

  • 2026-06-02 - CVE-2026-33245 published to NVD
  • 2026-06-02 - Last updated in NVD database

Technical Details for CVE-2026-33245

Vulnerability Analysis

The vulnerability exists in React Router's unstable RSC redirect handling. When the framework processes a redirect originating from an RSC response, the redirect destination is consumed by client-side navigation logic without sufficient validation of the target value. If the redirect source is untrusted, an attacker can inject a JavaScript URI or other executable payload that the router subsequently honors during navigation. The browser then evaluates the attacker-controlled script in the origin of the vulnerable application.

Exploitation requires user interaction and a viable injection point for the malicious redirect, such as an attacker-controlled upstream service or a server-side handler that reflects unvalidated input into an RSC redirect. Successful exploitation yields execution in the security context of the targeted application, allowing the attacker to read cookies accessible to JavaScript, manipulate the DOM, or pivot to authenticated API calls.

Root Cause

The root cause is missing or insufficient validation of redirect target URLs returned through the RSC pipeline. The client-side router treats the redirect value as a trusted navigation directive, permitting non-HTTP schemes such as javascript: to be passed to navigation primitives. This is a classic output-neutralization failure mapped to [CWE-79].

Attack Vector

The attack is network-based and requires user interaction. An attacker crafts or influences an RSC response that contains a malicious redirect target. When a user triggers the affected route in a vulnerable application, the router consumes the redirect and executes the attacker-supplied script in the browser. Refer to the GitHub Security Advisory GHSA-8646-j5j9-6r62 for advisory-level technical details.

// No verified exploit code is publicly available for CVE-2026-33245.
// See the GitHub Security Advisory referenced above for technical details.

Detection Methods for CVE-2026-33245

Indicators of Compromise

  • Outbound HTTP responses containing RSC payloads with redirect targets using non-HTTP schemes such as javascript:, data:, or vbscript:.
  • Browser console errors or Content Security Policy (CSP) violations referencing inline script execution on routes that use RSC navigation.
  • Unexpected client-side requests to attacker-controlled domains following navigation events in RSC-enabled routes.

Detection Strategies

  • Audit application dependencies for react-router versions in the range 7.7.0 through 7.13.1 using software composition analysis tooling.
  • Inspect server logs for RSC responses where the redirect Location value originates from user-controlled input or third-party data sources.
  • Deploy a strict Content Security Policy and monitor report-uri or report-to endpoints for violations indicating injected script execution.

Monitoring Recommendations

  • Enable runtime monitoring for anomalous JavaScript execution patterns on pages that invoke RSC navigation.
  • Correlate web application firewall (WAF) telemetry with upstream services that feed redirect destinations into RSC handlers.
  • Track dependency changes in CI/CD pipelines and alert on installs of vulnerable React Router versions.

How to Mitigate CVE-2026-33245

Immediate Actions Required

  • Upgrade react-router to version 7.13.2 or later across all applications using the unstable RSC APIs.
  • Identify and inventory every code path that constructs RSC redirects from external or user-supplied data.
  • Apply server-side validation that restricts redirect destinations to an allowlist of internal paths or trusted origins.

Patch Information

The maintainers fixed CVE-2026-33245 in React Router version 7.13.2. The patch hardens RSC redirect handling so that untrusted redirect targets cannot trigger script execution during client-side navigation. Patch details and the official advisory are available in the GitHub Security Advisory GHSA-8646-j5j9-6r62.

Workarounds

  • Disable the unstable React Server Components APIs in React Router until the upgrade to 7.13.2 is complete.
  • Validate all redirect destinations server-side and reject any value whose scheme is not http or https.
  • Enforce a strict Content Security Policy that disallows javascript: URIs and inline script execution to reduce exploitability.
bash
# Upgrade React Router to the patched version
npm install react-router@7.13.2
# or
yarn add react-router@7.13.2

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechReact Router

  • SeverityHIGH

  • CVSS Score8.0

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityHigh
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-33244: Shopify React-router XSS Vulnerability

  • CVE-2026-34077: React Router RSC XSS Vulnerability

  • CVE-2026-22029: React Router XSS Vulnerability

  • CVE-2025-59057: React Router XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English