Skip to content
OpenAdvisories
High · 7.5 CVE-2026-23737 EUVD-2026-3679GHSA-3rxj-6cgf-8cfw

seroval Affected by Remote Code Execution via JSON Deserialization

Published Jan 21, 2026 · Updated Jan 22, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
lxsmnsyc seroval < 1.4.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed opencode 1.18.26-1.1 openSUSE-SU-2026:11673-1

Affected packages

EcosystemPackageAffectedFixedRecord
npm seroval < 1.4.1 1.4.1 GHSA-3rxj-6cgf-8cfw

Advisories 1

References