Skip to main content
← All vulnerabilities
CVE-2026-116582EUVD-2026-110449GHSA-9WX9-5PV9-3349

Seroval: Script injection through RegExp sources in serialized output

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

Summary

Seroval facilitates JavaScript value stringification, including complex structures beyond JSON.stringify capabilities. Prior to 1.0.0 and from 1.5.5 until 1.6.10, the JavaScript-output APIs serialize a RegExp source containing a less-than character without the escaping needed for an HTML script element. An application is affected when it builds regular expression syntax from untrusted input, serializes that RegExp through serialize, serializeAsync, crossSerialize, crossSerializeAsync, crossSerializeStream, Serializer, or compileJSON, and embeds the result in an HTML script element. The crafted source can terminate the element and execute script in the page received by another user. This issue is fixed in version 1.6.10.

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

    fixed in 1.0.0; From 1.5.5 · fixed in 1.6.10

  • serovalnpm

    From 1.5.5 · fixed in 1.6.10

  • serovalnpm

    fixed in 1.0.0

References 3

GitHub · lxsmnsyc/seroval