In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade devalue to version 5.9.3 or higher.
devalue is a JSON.stringify, but handles cyclical references, repeated references, undefined, regular expressions, dates, Map and Set.
Affected versions of this package are vulnerable to Improper Handling of Highly Compressed Data (Data Amplification) via the uneval function when serializing a value containing many repeated long strings or bigint primitives. Each repeated primitive is re-stringified on every reference rather than being deduplicated, causing the output size to grow quadratically with the number of repetitions. An attacker who can supply input to a uneval call can trigger excessive CPU and memory consumption, crashing the process.