CVE-2026-59940 PUBLISHED

Seroval: `seroval.fromJSON()` Promise resolver type confusion invokes attacker-controlled methods during deserialization

Assigner: GitHub_M
Reserved: 07.07.2026 Published: 18.08.2026 Updated: 18.08.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS Score: 9.8

Product Status

Vendor lxsmnsyc
Product seroval
Versions
  • Version < 1.5.3 is affected

References

Problem Types

  • CWE-502: Deserialization of Untrusted Data CWE
  • CWE-843: Access of Resource Using Incompatible Type ('Type Confusion') CWE