Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. seroval
  4. ›
  5. CVE-2026-116582

CVE-2026-116582: Seroval: Script injection through RegExp sources in serialized output

October 28, 2026

seroval writes a RegExp as a regular expression literal. In affected versions, the < character in a RegExp source is written without escaping. A source built from untrusted input can then end the HTML <script> element that the serialized output is placed in, and run script in the page.

References

  • github.com/advisories/GHSA-9wx9-5pv9-3349
  • github.com/lxsmnsyc/seroval/commit/f94ee0b63936dae954ff50d5b5e8ea7cb9b284e6
  • github.com/lxsmnsyc/seroval/releases/tag/seroval@1.6.10
  • github.com/lxsmnsyc/seroval/security/advisories/GHSA-9wx9-5pv9-3349
  • nvd.nist.gov/vuln/detail/CVE-2026-116582

Code Behaviors & Features

Detect and mitigate CVE-2026-116582 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.0.0, all versions starting from 1.5.5 before 1.6.10

Fixed versions

  • 1.0.0
  • 1.6.10

Solution

Upgrade to versions 1.0.0, 1.6.10 or above.

Impact 4.7 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-116: Improper Encoding or Escaping of Output
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

npm/seroval/CVE-2026-116582.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:21 +0000.