Vulnerability

CVE-2026-115754

lowCVSS 4.0 2.3Published 23 Oct 2026

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

Description

serialize-javascript from 7.0.1 before 7.1.3 contains a cross-site scripting vulnerability that allows attackers to break out of HTML script elements by ending serialized function source text with an unescaped </script. Attackers controlling a function's source via a spoofed toString() can combine surrounding output delimiters and later values to inject live markup such as img onerror handlers.

Affected products

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

Weakness type

References

  • github.com /yahoo/serialize-javascript/commit/2864b3c6260a3bfd52d2db3e…
  • github.com /yahoo/serialize-javascript/pull/235
  • github.com /yahoo/serialize-javascript/releases/tag/v7.1.3
  • github.com /yahoo/serialize-javascript/security/advisories/GHSA-m5mm-p…
  • www.vulncheck.com /advisories/serialize-javascript-7.0.1-before-7.1.3-xss-via…

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

Start scanning