CVE-2026-116582

Medium

Description

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.

SeverityMedium
CVSS4.7
Exploit probability—
ProductSeroval
PublishedOct 26, 2026
First seenOct 26, 2026

How to fix

Update
  • seroval1.6.10, 1.0.0 or later

Affected products

ProductAffected versionsFixed in
serovalnpm1.5.5 ≤ v < 1.6.10, v < 1.0.01.6.10, 1.0.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.