react-router is vulnerable to Deserialization of Untrusted Data
42
CVE Score
Medium
Deserialization of Untrusted Data
React Router Framework Mode client hydration previously deserialized server error objects by instantiating arbitrary window[__subType] constructors from serialized metadata. If attacker-influenced error shapes reach hydration data, unsafe constructors can run in the browser. The patch removes the custom deserialization path and routes hydration errors through turbo-stream with a supported error-type whitelist.
Upgrade the react-router and/or the react-router-dom library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and running Framework Mode SSR where untrusted data can influence serialized hydration error payloads.
6.14.2 - 7.17.0
Fixed in 7.18.0react-router is vulnerable to Deserialization of Untrusted Data in versions 6.14.2 - 7.17.0.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.