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-34077

CVE-2026-34077: React Router RSC XSS Vulnerability

CVE-2026-34077 is a cross-site scripting flaw in React Router's unstable React Server Components APIs affecting versions 7.7.0 to 7.13.1. This post covers the technical details, affected versions, impact, and mitigation.

Published: June 4, 2026

CVE-2026-34077 Overview

CVE-2026-34077 is a client-side Cross-Site Scripting (XSS) vulnerability in React Router's unstable React Server Components (RSC) redirect handling. The flaw affects versions 7.7.0 through 7.13.1 when applications use the unstable RSC APIs and process redirects originating from untrusted sources. Applications that do not use the unstable RSC APIs are not affected. The maintainers patched the issue in version 7.13.2. The vulnerability is tracked under CWE-770 and was disclosed via the GitHub Security Advisory GHSA-rxv8-25v2-qmq8.

Critical Impact

Attackers can deliver malicious redirect payloads that execute script in the victim's browser context, enabling session theft and client-side compromise of React Router RSC applications.

Affected Products

  • React Router versions 7.7.0 through 7.13.1
  • Applications using React Router unstable React Server Components (RSC) APIs
  • Fixed in React Router 7.13.2

Discovery Timeline

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

Technical Details for CVE-2026-34077

Vulnerability Analysis

React Router is a widely used routing library for React applications. The unstable RSC APIs introduced in the 7.x series support server-driven navigation, including server-issued redirects consumed by the client runtime. The vulnerability arises when the RSC redirect handler accepts a redirect target from an untrusted source and processes it without adequate validation of the destination. An attacker who controls or influences the redirect input can supply a payload that the client treats as an executable navigation target, resulting in script execution in the user's browser. The impact is limited to applications that have opted into the unstable RSC APIs; standard React Router routing flows are unaffected.

Root Cause

The root cause is insufficient validation and sanitization of redirect URLs returned through the RSC stream. The client-side redirect handler in versions 7.7.0 through 7.13.1 does not enforce a strict allowlist of safe URL schemes before performing navigation. As a result, attacker-controlled values such as javascript: URIs reaching the redirect path can lead to script execution. This pattern aligns with CWE-770, where input that should be constrained is not adequately limited before being acted upon.

Attack Vector

Exploitation is network-based and requires no authentication or user interaction beyond normal application usage. An attacker influences a redirect response handled by the RSC client, for example by abusing an open redirect endpoint, a server route that echoes user input into a redirect, or any upstream service that returns redirect targets to the React Router RSC runtime. When the client processes the malicious redirect, the script payload executes in the origin of the vulnerable application. Refer to the GitHub Security Advisory for additional technical context.

Detection Methods for CVE-2026-34077

Indicators of Compromise

  • Outbound or in-app redirect responses containing non-HTTP URL schemes such as javascript:, data:, or vbscript: in RSC payloads.
  • Browser console errors or Content Security Policy (CSP) violations originating from unexpected inline script execution following navigation events.
  • Server logs showing untrusted user input flowing into routes that produce RSC redirect responses.

Detection Strategies

  • Inventory all applications using React Router and identify those on versions 7.7.0 through 7.13.1 that import the unstable RSC APIs.
  • Perform static analysis on server route handlers to find redirects whose target is derived from query strings, headers, or third-party responses without scheme validation.
  • Add automated tests that submit javascript: and other dangerous URL schemes to redirect-producing endpoints and verify they are rejected.

Monitoring Recommendations

  • Enable a strict Content Security Policy that disallows inline script execution to limit the impact of any successful XSS payload.
  • Monitor web application firewall (WAF) and proxy logs for redirect responses containing non-standard URL schemes.
  • Capture browser-side telemetry for CSP violations and unexpected navigations to surface attempted exploitation.

How to Mitigate CVE-2026-34077

Immediate Actions Required

  • Upgrade React Router to version 7.13.2 or later in all applications that use the unstable RSC APIs.
  • Audit redirect-producing routes and ensure redirect targets come only from trusted, validated sources.
  • Reject any redirect destination that does not use the http: or https: schemes, or restrict to same-origin relative paths.

Patch Information

The React Router maintainers fixed CVE-2026-34077 in version 7.13.2. Upgrade the react-router dependency to 7.13.2 or later. Full remediation details are available in the GHSA-rxv8-25v2-qmq8 advisory.

Workarounds

  • Stop using the unstable RSC APIs until the upgrade to 7.13.2 is complete.
  • Validate redirect URLs server-side with a strict allowlist of schemes and hosts before returning them to the client.
  • Deploy a strong Content Security Policy that blocks inline scripts and restricts navigation sources as a defense-in-depth control.
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 Score7.5

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-770
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-33244: Shopify React-router XSS Vulnerability

  • CVE-2026-33245: 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