CVE-2026-59940: Vulnerability in seroval

Critical. 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...

npm, CWE-502, CWE-843

Exploitation
None confirmed
Severity
9.8 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-mv8w-475r-vwqw
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-502, CWE-843
Published
24 Jul 2026
Last change
22 Oct 2026
Ecosystem
npm

Affected packages

Vulnerable version ranges and fixed releases

  • seroval npm, Affected through 1.5.2. Fixed in 1.5.3

Advisories

Vendor and security advisories