seroval Affected by Remote Code Execution via JSON Deserialization
Description
seroval facilitates JS value stringification, including complex structures beyond JSON.stringify capabilities. In versions 1.4.0 and below, improper input handling in the JSON deserialization component can lead to arbitrary JavaScript code execution. Exploitation is possible via overriding constant value and error deserialization, allowing indirect access to unsafe JS evaluation. At minimum, attackers need 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. This issue has been fixed in version 1.4.0.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
serovalnpm | < 1.4.1 | 1.4.1 |
Affected products
2Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-3rxj-6cgf-8cfwghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-23737ghsaADVISORY
- github.com/lxsmnsyc/seroval/commit/ce9408ebc87312fcad345a73c172212f2a798060ghsax_refsource_MISCWEB
- github.com/lxsmnsyc/seroval/security/advisories/GHSA-3rxj-6cgf-8cfwghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.