Vulnerability Description
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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/yahoo/serialize-javascript/commit/2864b3c6260a3bfd52d2db3e70d
- https://github.com/yahoo/serialize-javascript/pull/235
- https://github.com/yahoo/serialize-javascript/releases/tag/v7.1.3
- https://github.com/yahoo/serialize-javascript/security/advisories/GHSA-m5mm-p8h7
- https://www.vulncheck.com/advisories/serialize-javascript-7.0.1-before-7.1.3-xss
FAQ
What is CVE-2026-115754?
CVE-2026-115754 is a vulnerability with a CVSS score of 4.7 (MEDIUM). 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 ...
How severe is CVE-2026-115754?
CVE-2026-115754 has been rated MEDIUM with a CVSS base score of 4.7/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-115754?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.