Advisory

GHSA-3rxj-6cgf-8cfw

Also known as: CVE-2026-23737

Summary

seroval Affected by Remote Code Execution via JSON Deserialization

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-01-21 15:41 UTC
Modified
2026-02-03 03:10 UTC

Affected packages and fixes

seroval

npm · All systems

Affected

  • introduced 0, fixed 1.4.1 (semver)

Fixed versions

1.4.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences