CVE-2026-115897yahoo serialize-javascript
Low 2.1
Follow: this CVE · yahoo · yahoo serialize-javascript We alert you by email or Slack (account required).
- Priority
- 13
- CVSS 4.0
- 2.1
- EPSS
- —
- Auth required
- Yes
- Published
- Oct 23, 2026
- Updated
- Oct 26, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
Serialize JavaScript serializes JavaScript values to a superset of JSON that includes regular expressions and functions. Prior to 7.1.3, the function-source escaping logic does not neutralize a bare closing-script prefix when attacker-influenced function source text ends exactly at that prefix. Because each function body is escaped independently, a delimiter supplied by surrounding serialized output can terminate an HTML script element, and a later serialized value supplies injected markup that becomes a live element in the page. Exploitation requires control of a serialized function's source text, such as through a spoofed toString(). This issue is fixed in version 7.1.3.
What to do
- Apply the vendor's security update for serialize-javascript.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | serialize-javascript |
< 7.1.3 |
7.1.3 |
npm install serialize-javascript@7.1.3 |
Per OSV / GitHub Advisories (GHSA-m5mm-p8h7-m29v). Check the version in your lockfile before upgrading.
Affected products
- yahoo · serialize-javascript
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update · Red Hat · RHSA-2026:93601 · Nov 23, 2026 High
- agama-web-ui-25+475.275dd4727-56.1 on GA media · SUSE · openSUSE-SU-2026:12424-1 · Nov 5, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.