GitHub Advisory Database
GHSA-p6vx-979v-rg4c
Seroval: `fromJSON()` Promise thenable assimilation invokes plugin-produced callables (bypass of GHSA-mv8w-475r-vwqw)
Details
A fulfilled Promise node deserialized by fromJSON() can trigger unintended invocation of a plugin-produced callable through native ECMAScript thenable assimilation. This bypasses the type-confusion fix in [email protected] (GHSA-mv8w-475r-vwqw / CVE-2026-59940) and affects every plugin-capable release from 0.12.0 through the current 1.6.0.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | seroval | From 0.12.0 before 1.6.2 (fixed in 1.6.2) |