CVE-2025-43864
JavaScript vulnerability analysis and mitigation

Overview

React Router, a widely used router for React with approximately 14 million weekly downloads, disclosed a high-severity vulnerability (CVE-2025-43864) affecting versions 7.2.0 through 7.5.1. The vulnerability was discovered and reported on April 24, 2025, allowing attackers to force applications into Single Page Application (SPA) mode through header manipulation (Security Online, GitHub Advisory).

Technical details

The vulnerability stems from the ability to force an application to switch to SPA mode by adding a specially crafted X-React-Router-SPA-Mode header to the request. When exploited against applications using Server-Side Rendering (SSR), this causes an error that corrupts the page completely. The vulnerability has been assigned a CVSS score of 7.5 (High), with attack vector metrics indicating network-based attacks with low complexity and no required privileges or user interaction (GitHub Advisory).

Impact

The primary impact of this vulnerability is on application availability. When a caching system is in place, the corrupted response can be cached, resulting in cache poisoning that severely impacts the application's availability. This can lead to persistent disruption of service for legitimate users accessing the affected pages (GitHub Advisory, Security Online).

Mitigation and workarounds

The vulnerability has been patched in React Router version 7.5.2. Organizations using affected versions should upgrade immediately to the patched version. Additionally, Cloudflare has implemented mitigation measures to protect their customers from this vulnerability (CloudflareDev).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-55182CRITICAL10
  • JavaScriptJavaScript
  • react-server-dom-turbopack
NoYesDec 03, 2025
CVE-2025-66032HIGH8.7
  • JavaScriptJavaScript
  • @anthropic-ai/claude-code
NoYesDec 03, 2025
CVE-2025-66412HIGH8.5
  • JavaScriptJavaScript
  • @angular/compiler
NoYesDec 01, 2025
CVE-2025-66415MEDIUM6.9
  • JavaScriptJavaScript
  • @fastify/reply-from
NoYesDec 01, 2025
CVE-2025-66404MEDIUM6.4
  • JavaScriptJavaScript
  • mcp-server-kubernetes
NoYesDec 03, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management