seroval Affected by Remote Code Execution via JSON Deserialization
Description
Published to the GitHub Advisory Database
Jan 21, 2026
Reviewed
Jan 21, 2026
Published by the National Vulnerability Database
Jan 21, 2026
Last updated
Jan 22, 2026
Improper input handling in the JSON deserialization component can lead to arbitrary JavaScript code execution.
The vulnerability can be exploited via overriding constant value and error deserialization, which allows indirect access to unsafe JS evaluation. This requires at least the ability to perform 4 separate requests on the same function and partial knowledge of how the serialized data is used during later runtime processing.
This vulnerability affects the
fromJSONandfromCrossJSONfunctions in a client-to-server transmission scenario.No known workarounds or mitigations are known, so please upgrade to the patched version.
References