seroval

Stringify JS values

1.8.5Latest, 3 Dec 2026
175MDownloads, last month
0Advisories on the latest
13Advisories, all versions
MITLicence
744Stars

Known advisories

Severity Advisory Fix Published
High Seroval: Deserialization invokes attacker-chosen callables: AsyncIteratorFactoryInstance calls source.on(listener) without type check CVE-2026-116580 Fixed in 1.6.8 28 Oct 2026
High Seroval: fromJSON deserializer trusts node-supplied array length and sequence doneAt (unauthenticated event-loop DoS) CVE-2026-116581 Fixed in 1.6.8 28 Oct 2026
Moderate Seroval: Script injection through RegExp sources in serialized output CVE-2026-116582 Fixed in 1.6.10, 1.0.0 28 Oct 2026
Moderate Seroval: Code injection through a typed array's own constructor property CVE-2026-116583 Fixed in 1.6.11 28 Oct 2026
High Seroval `fromJSON`/`fromCrossJSON` denial of service via unvalidated array node length CVE-2026-116584 Fixed in 1.6.8 28 Oct 2026
High Seroval: Memory exhaustion via unchecked TypedArray length in JSON deserialization CVE-2026-104845 Fixed in 1.6.3 5 Oct 2026
Critical Seroval: `fromJSON()` Promise thenable assimilation invokes plugin-produced callables (bypass of GHSA-mv8w-475r-vwqw) CVE-2026-104846 Fixed in 1.6.2 5 Oct 2026
Critical seroval: `seroval.fromJSON()` Promise resolver type confusion invokes attacker-controlled methods during deserialization CVE-2026-59940 Fixed in 1.5.3 24 Jul 2026
High Seroval affected by Denial of Service via Deeply Nested Objects CVE-2026-24006 Fixed in 1.4.1 22 Jan 2026
High seroval Affected by Remote Code Execution via JSON Deserialization CVE-2026-23737 Fixed in 1.4.1 21 Jan 2026
High Seroval affected by Denial of Service via Array serialization CVE-2026-23957 Fixed in 1.4.1 21 Jan 2026
High seroval Affected by Prototype Pollution via JSON Deserialization CVE-2026-23736 Fixed in 1.4.1 21 Jan 2026
High seroval affected by Denial of Service via RegExp serialization CVE-2026-23956 Fixed in 1.4.1 21 Jan 2026

In the news

Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.