CVE-2026-115754

published 23 Oct 2026 · updated 16 Nov 2026

serialize-javascript 7.0.1 before 7.1.3 XSS via unescaped </script in function body

4.7MediumCVSS 4.7EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 7.1.3.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
yahoo>=7.0.1 <7.1.37.1.3

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-115754 severity on Zeptric[![CVE-2026-115754](https://zeptric.io/badge/cve/CVE-2026-115754.svg)](https://zeptric.io/cve/CVE-2026-115754)