Vulnerability

CVE-2026-116582

mediumCVSS 3.1 4.7Published 26 Oct 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /lxsmnsyc/seroval/commit/f94ee0b63936dae954ff50d5b5e8ea7cb9…
  • github.com /lxsmnsyc/seroval/releases/tag/seroval@1.6.10
  • github.com /lxsmnsyc/seroval/security/advisories/GHSA-9wx9-5pv9-3349

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning