CVE-2026-116582
Published:October 26, 2026
Updated:October 28, 2026
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 Packages
https://github.com/lxsmnsyc/seroval.git (GITHUB):
Affected version(s) >=seroval@1.5.5 <seroval@1.6.10Fix Suggestion:
Update to version seroval@1.6.10https://github.com/lxsmnsyc/seroval.git (GITHUB):
Affected version(s) >=v0.1.0 <v1.0.0Fix Suggestion:
Update to version v1.0.0seroval (NPM):
Affected version(s) >=0.1.0 <1.0.0Fix Suggestion:
Update to version 1.0.0seroval (NPM):
Affected version(s) >=1.5.5 <1.6.10Fix Suggestion:
Update to version 1.6.10Related Resources (5)
Do you need more information?
Contact UsCVSS v4
Base Score:
2.3
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
LOW
Subsequent System Integrity
LOW
Subsequent System Availability
NONE
CVSS v3
Base Score:
4.7
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
EPSS
Base Score:
0.19