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.
Advisories
No advisories yet.
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Fri, 23 Oct 2026 13:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | serialize-javascript 7.0.1 before 7.1.3 XSS via unescaped </script in function body | |
| First Time appeared |
Yahoo
Yahoo serialize Javascript |
|
| Weaknesses | CWE-79 | |
| CPEs | cpe:2.3:a:yahoo:serialize_javascript:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Yahoo
Yahoo serialize Javascript |
|
| References |
|
|
| Metrics |
cvssV3_1
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: VulnCheck
Published:
Updated: 2026-10-23T14:58:11.402Z
Reserved: 2026-10-23T13:16:42.305Z
Link: CVE-2026-115754
No data.
No data.
No data.
OpenCVE Enrichment
No data.
Weaknesses