Node serialize javascript: serialize-javascript from 7.0.1 before 7.1.3 contains a cross-site scripting vulnerability
Affects node-serialize-javascriptSource GCVE Database
Not known to be exploited · CVSS 2.3 Low.
Data as of 28 Oct 2026, 22:31 UTC
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 23 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10node-serialize-javascriptpkg:deb/ubuntu/node-serialize-javascript?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSnode-serialize-javascriptpkg:deb/ubuntu/node-serialize-javascript?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSnode-serialize-javascriptpkg:deb/ubuntu/node-serialize-javascript?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSnode-serialize-javascriptpkg:deb/ubuntu/node-serialize-javascript?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2026-115754 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-115754 (opens in a new tab)
- github.com/yahoo/serialize-javascript/commit/2864b3c6260a3bfd52d2db3e70d1a079de108a61 (opens in a new tab)
- github.com/yahoo/serialize-javascript/pull/235 (opens in a new tab)
- github.com/yahoo/serialize-javascript/releases/tag/v7.1.3 (opens in a new tab)
- github.com/yahoo/serialize-javascript/security/advisories/GHSA-m5mm-p8h7-m29v (opens in a new tab)
- vulncheck.com/advisories/serialize-javascript-7.0.1-before-7.1.3-xss-via-unescaped-script-in-function-body (opens in a new tab)