NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2026-23737: seroval Affected by Remote Code Execution via JSON Deserialization

highCVSS 3.1 7.5GHSA-3rxj-6cgf-8cfw

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.

Published Jan 21, 2026 · Updated Jan 22, 2026

Affected packages

seroval

Ecosystem
npm
Affected
< 1.4.1
Fixed in
1.4.1
Check
npm ls seroval

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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 fromJSON and fromCrossJSON functions in a client-to-server transmission scenario.

No known workarounds or mitigations are known, so please upgrade to the patched version.

Credited to GabbeV, tweidinger, lxsmnsyc.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More npm vulnerabilities

All npm entries