Skip to main content
← All vulnerabilities
CVE-2026-116583GHSA-F86P-H4J2-7QGJEUVD-2026-110462

Seroval: Code injection through a typed array's own constructor property

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.6.11
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

Seroval, a JavaScript library that serializes values (including complex structures) into JavaScript output, is affected. If an application copies untrusted properties onto a typed array before serializing it, an attacker can inject malicious code that runs in the browser of whoever receives that output.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original description

Seroval facilitates JavaScript value stringification, including complex structures beyond JSON.stringify capabilities. From 1.6.0 until 1.6.11, the JavaScript-output APIs derive a typed array's constructor name from a property on the value that can be replaced by an own constructor property. When application code copies untrusted properties onto a typed array and then passes it to serialize, serializeAsync, crossSerialize, crossSerializeAsync, crossSerializeStream, Serializer, or compileJSON, the attacker-controlled name is written as executable JavaScript and can run in the page receiving the output. This issue is fixed in version 1.6.11.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  4. Record last updated

Affected versions

  • lxsmnsyc seroval

    From 1.6.0 · fixed in 1.6.11

  • serovalnpm

    From 1.6.0 · fixed in 1.6.11

References 3

GitHub · lxsmnsyc/seroval