CVE-2026-115897: yahoo serialize-javascript · Cross-site Scripting
Affects yahoo serialize-javascriptSource CVE Database V5
Not known to be exploited · CVSS 2.1 Low : upgrade to 7.1.3 when convenient.
Data as of 26 Oct 2026, 13:47 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 23% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 7.1.3
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:L/VI:L/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
Upgrade yahoo serialize-javascript to 7.1.3.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| yahooserialize-javascript | Affected
| Fixed in
|
npmserialize-javascriptpkg:npm/serialize-javascriptOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade serialize-javascript to version 7.1.3 or later, where the vulnerability is fixed. No other mitigations are indicated by the vendor advisory. Patch status is confirmed fixed in 7.1.3.
Description
CVE-2026-115897 is a cross-site scripting (XSS) vulnerability in the yahoo serialize-javascript library prior to version 7.1.3. The issue arises because the function-source escaping logic fails to neutralize a bare closing-script prefix when attacker-controlled function source text ends exactly at that prefix. This can allow an attacker to inject live HTML elements into a page if they control the serialized function's source text, such as via a spoofed toString() method. The vulnerability has a low CVSS score of 2.1 and requires high attack complexity and partial user interaction. It is fixed in version 7.1.3.
References
- github.com/yahoo/serialize-javascript/security/advisories/GHSA-m5mm-p8h7-m29v (opens in a new tab)
- github.com/yahoo/serialize-javascript/pull/235 (opens in a new tab)
- github.com/yahoo/serialize-javascript/commit/2864b3c6260a3bfd52d2db3e70d1a079de108a61 (opens in a new tab)
- github.com/yahoo/serialize-javascript/releases/tag/v7.1.3 (opens in a new tab)