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.

History

Sat, 24 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Fri, 23 Oct 2026 23:45:00 +0000

Type Values Removed Values Added
First Time appeared Yahoo serialize-javascript
Vendors & Products Yahoo serialize-javascript

Fri, 23 Oct 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


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

{'score': 4.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 2.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-23T14:58:11.402Z

Reserved: 2026-10-23T13:16:42.305Z

Link: CVE-2026-115754

cve-icon Vulnrichment

Updated: 2026-10-23T14:48:53.897Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-23T14:17:52.590

Modified: 2026-10-23T19:45:03.547

Link: CVE-2026-115754

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-23T13:20:43Z

Links: CVE-2026-115754 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T23:30:17Z

Weaknesses