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

CVE-2026-33244: Shopify React-router XSS Vulnerability

CVE-2026-33244 is a Cross-Site Scripting vulnerability in Shopify React-router affecting Framework Mode with pre-rendering. Attackers can exploit improper header neutralization. This article covers technical details, versions 7.5.1-7.13.1, impact, and patches.

Published: June 4, 2026

CVE-2026-33244 Overview

CVE-2026-33244 is a Cross-Site Scripting (XSS) vulnerability [CWE-79] in React Router, a routing library for React applications. The flaw affects versions 7.5.1 through 7.13.1 when using Framework Mode with pre-rendering enabled. The library fails to properly neutralize the HTTP Location header value, allowing attacker-controlled redirect locations to be embedded unsanitized in statically generated HTML files. Applications using Declarative Mode (<BrowserRouter>) or Data Mode (createBrowserRouter/<RouterProvider>) are not affected. The maintainers patched the issue in version 7.13.2.

Critical Impact

Untrusted redirect locations injected into pre-rendered HTML can execute arbitrary JavaScript in user browsers, enabling session theft, credential harvesting, and content manipulation.

Affected Products

  • Shopify React Router versions 7.5.1 through 7.13.1
  • Applications using React Router Framework Mode with pre-rendering enabled
  • Statically generated HTML output from affected React Router builds

Discovery Timeline

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

Technical Details for CVE-2026-33244

Vulnerability Analysis

The vulnerability arises in React Router's Framework Mode pre-rendering pipeline. When a route handler issues a redirect, React Router writes the Location header value into the statically generated HTML output. The pre-rendering process does not HTML-encode or sanitize this value before serialization. If the redirect target is derived from untrusted input such as user-supplied query parameters, request bodies, or upstream service responses, an attacker can inject JavaScript payloads that execute when the static page loads in a browser.

The vulnerability requires user interaction and low-privileged access, and its scope crosses the trust boundary because injected script executes in the victim's browser context under the application origin. Successful exploitation allows attackers to read session cookies accessible to scripts, exfiltrate Document Object Model (DOM) data, and perform actions on behalf of authenticated users.

Root Cause

The root cause is improper neutralization of input during web page generation [CWE-79]. The pre-rendering logic treats the Location header value as trusted markup rather than untrusted data. Output encoding is missing at the point where the redirect target is written into the generated HTML document.

Attack Vector

An attacker crafts a request that influences a redirect destination, for example through a query parameter or referer that feeds into a server-side redirect. During the static build or on-demand pre-render, React Router serializes the malicious Location value verbatim into the generated HTML. When a victim loads the resulting page, the embedded script executes in the application origin. Refer to the GitHub Security Advisory GHSA-f22v-gfqf-p8f3 for the maintainer's technical description.

Detection Methods for CVE-2026-33244

Indicators of Compromise

  • Pre-rendered HTML files containing <script> tags, javascript: URIs, or event handler attributes inside redirect metadata or <meta http-equiv="refresh"> content attributes.
  • Build artifacts where the Location header value contains characters such as <, >, ", or ' without entity encoding.
  • Web server access logs showing requests with redirect-influencing parameters containing HTML or JavaScript syntax.

Detection Strategies

  • Inventory all React Router deployments and identify versions between 7.5.1 and 7.13.1 using Framework Mode with pre-rendering enabled.
  • Scan generated static HTML output for unencoded characters within redirect-related markup using regular expressions or HTML parsers.
  • Review server-side redirect handlers to identify code paths where untrusted input flows into the Location response header.

Monitoring Recommendations

  • Enable Content Security Policy (CSP) reporting endpoints to capture inline script violations on pre-rendered pages.
  • Monitor web application firewall (WAF) logs for redirect parameter values containing script syntax or HTML metacharacters.
  • Track Software Bill of Materials (SBOM) entries for react-router package versions across development and production builds.

How to Mitigate CVE-2026-33244

Immediate Actions Required

  • Upgrade React Router to version 7.13.2 or later across all affected projects and rebuild static assets.
  • Audit server-side route handlers that issue redirects to confirm whether untrusted input reaches the Location header.
  • Invalidate cached pre-rendered HTML produced by vulnerable versions and redeploy from a patched build.

Patch Information

The maintainers released a fix in React Router 7.13.2 that properly encodes the Location header value before embedding it in pre-rendered HTML. Details are published in the React Router Security Advisory GHSA-f22v-gfqf-p8f3.

Workarounds

  • Disable pre-rendering in Framework Mode until the upgrade to 7.13.2 is completed.
  • Switch affected routes to Declarative Mode (<BrowserRouter>) or Data Mode (createBrowserRouter/<RouterProvider>), which are not impacted.
  • Validate and allowlist redirect destinations server-side, rejecting any Location value not matching expected URL patterns.
  • Apply a strict Content Security Policy that blocks inline scripts and restricts script sources to trusted origins.

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

  • SeverityMEDIUM

  • CVSS Score5.4

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Vendor Resources
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-34077: React Router RSC 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