CVE-2026-115754
serialize-javascript 7.0.1 before 7.1.3 XSS via unescaped </script in function body
CVSS Score
4.7
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-79 |
| Vendor | yahoo |
| Product | serialize-javascript |
| Published | Oct 23, 2026 |
| Last Updated | Oct 23, 2026 |
Stay Ahead of the Next One
Get instant alerts for yahoo serialize-javascript
Be the first to know when new medium vulnerabilities affecting yahoo serialize-javascript are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
Affected Versions
yahoo / serialize-javascript
7.0.1 < 7.1.3
References
github.com: https://github.com/yahoo/serialize-javascript/security/advisories/GHSA-m5mm-p8h7-m29v github.com: https://github.com/yahoo/serialize-javascript/pull/235 github.com: https://github.com/yahoo/serialize-javascript/commit/2864b3c6260a3bfd52d2db3e70d1a079de108a61 github.com: https://github.com/yahoo/serialize-javascript/releases/tag/v7.1.3 vulncheck.com: https://www.vulncheck.com/advisories/serialize-javascript-7.0.1-before-7.1.3-xss-via-unescaped-script-in-function-body
Credits
Zachariah Mithani (AploSec)