CVE-2026-116582

GHSA-9wx9-5pv9-3349 · published 26 Oct 2026 · updated 30 Oct 2026

Seroval: Script injection through RegExp sources in serialized output

4.7MediumCVSS 4.7EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in seroval 1.0.0 and seroval 1.6.10.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
lxsmnsyc<1.0.0, >=1.5.5 <1.6.10
npm: seroval<1.0.0, >=1.5.5 <1.6.101.0.0, 1.6.10

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in seroval (npm), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-116582 severity on Zeptric[![CVE-2026-116582](https://zeptric.io/badge/cve/CVE-2026-116582.svg)](https://zeptric.io/cve/CVE-2026-116582)