{"cve":"CVE-2026-59940","nvd":{"published":"2026-08-18T15:16:56.007","modified":"2026-10-22T22:10:00.250","status":"Deferred","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-502","CWE-843"],"references":["https://github.com/lxsmnsyc/seroval/security/advisories/GHSA-mv8w-475r-vwqw"],"products":[],"source":"nvd","synced_at":"2026-10-23T16:39:26.291718493+00:00"},"epss":{"cve":"CVE-2026-59940","score":0.00812,"percentile":0.56712,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-mv8w-475r-vwqw","url":"https://osv.dev/vulnerability/GHSA-mv8w-475r-vwqw","summary":"seroval: `seroval.fromJSON()` Promise resolver type confusion invokes attacker-controlled methods during deserialization","modified":"2026-07-24T16:33:10.222996Z","packages":[{"ecosystem":"npm","name":"seroval","purl":"pkg:npm/seroval","ranges":["<1.5.3"],"fixed":["1.5.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}