react-router is vulnerable to Deserialization of Untrusted Data
42
Medium Risk
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.
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.
react-router is vulnerable to Deserialization of Untrusted Data in versions 7.0.0 - 7.17.0.
Upgrade the react-router and/or the react-router-dom library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant