React Router is a router for React. From 7.0.0 until 7.18.5 and 8.5.1, React Router Framework mode contains a prototype pollution vulnerability in data deserialization. Processing attacker-controlled serialized data through the affected decoder may interfere with application behavior, potentially compromising application integrity or availability. This issue is fixed in versions 7.18.5 and 8.5.1.
The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.