CVE-2026-115754: Yahoo Serialize-JavaScript
Medium severity, CVSS 4.7. EPSS: 0.3% probability of exploitation activity in the next 30 days.
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.
What to do
The record states a fixed version for the versions it affects. If you run one, update to it.
- Yahoo Serialize-JavaScript, from 7.0.1, before 7.1.3: fixed in 7.1.3
Affected products
- Yahoo Serialize-JavaScript: from 7.0.1, before 7.1.3 (fixed in 7.1.3)
Affected packages
- serialize-javascript (npm)
Published 2026-10-23. Last modified 2026-10-23.