Description
Seroval facilitates JS value stringification, including complex structures beyond JSON.stringify capabilities. Prior to 1.5.3, seroval.fromJSON() allows attacker-controlled JSON Promise control nodes to operate on values from the general deserialization reference table without verifying genuine internal Promise resolver records, causing deserialization side effects with plugins enabled and potentially unintended server-side invocation or remote code execution when downstream frameworks register callable wrappers. This issue is fixed in version 1.5.3.
Published: 2026-08-18
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Seroval's fromJSON function processes JSON that can include Promise control nodes. When an attacker supplies Promise nodes that reference methods from the general deserialization reference table, the implementation fails to verify that the referenced resolver records are valid internal Promise resolvers. This type confusion allows a malicious payload to invoke attacker-controlled methods during deserialization, potentially leading to server‑side execution of unintended code. The weakness is identified as a serializable deserialization flaw (CWE‑502) and a type confusion error (CWE‑843).

Affected Systems

The vulnerability affects the JavaScript library Seroval provided by lxsmnsyc. Versions prior to 1.5.3 are vulnerable, particularly when plugins are enabled that register callable wrappers. Any application or framework that uses seroval.fromJSON to deserialize untrusted data without patching may be impacted.

Risk and Exploitability

The CVSS score of 9.8 indicates a critical severity. Although an EPSS score is not available, the lack of KEV listing does not reduce the risk of exploitation, as no known public exploits are recorded yet. The attack vector is likely the injection of malicious JSON via user input or network traffic processed by the application, triggering the deserialization path. If an attacker can supply such payloads, the consequence can be remote code execution or unintended server‑side method invocation.

Generated by OpenCVE AI on August 18, 2026 at 16:59 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Seroval to version 1.5.3 or later.
  • Disable or restrict plugins that register callable wrappers until the update applies.
  • Implement input validation to reject or sanitize malicious Promise control nodes before deserialization.

Generated by OpenCVE AI on August 18, 2026 at 16:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-mv8w-475r-vwqw seroval: `seroval.fromJSON()` Promise resolver type confusion invokes attacker-controlled methods during deserialization
History

Tue, 18 Aug 2026 19:15:00 +0000

Type Values Removed Values Added
First Time appeared Lxsmnsyc
Lxsmnsyc seroval
Vendors & Products Lxsmnsyc
Lxsmnsyc seroval

Tue, 18 Aug 2026 15:00:00 +0000

Type Values Removed Values Added
Description Seroval facilitates JS value stringification, including complex structures beyond JSON.stringify capabilities. Prior to 1.5.3, seroval.fromJSON() allows attacker-controlled JSON Promise control nodes to operate on values from the general deserialization reference table without verifying genuine internal Promise resolver records, causing deserialization side effects with plugins enabled and potentially unintended server-side invocation or remote code execution when downstream frameworks register callable wrappers. This issue is fixed in version 1.5.3.
Title Seroval: `seroval.fromJSON()` Promise resolver type confusion invokes attacker-controlled methods during deserialization
Weaknesses CWE-502
CWE-843
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

Lxsmnsyc Seroval
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-18T15:49:59.261Z

Reserved: 2026-07-07T18:20:06.127Z

Link: CVE-2026-59940

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-18T15:16:56.007

Modified: 2026-08-18T16:18:11.377

Link: CVE-2026-59940

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-18T19:00:10Z

Weaknesses
  • CWE-502

    Deserialization of Untrusted Data

  • CWE-843

    Access of Resource Using Incompatible Type ('Type Confusion')