Critical severity9.8NVD Advisory· Published Aug 18, 2026· Updated Sep 18, 2026
CVE-2026-59940
CVE-2026-59940
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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
serovalnpm | < 1.5.3 | 1.5.3 |
Affected products
2Patches
Vulnerability mechanics
References
3News mentions
0No linked articles in our index yet.