serialize-javascript 7.0.1 before 7.1.3 XSS via unescaped </script in function body
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| yahooserialize-javascript |
≥ 7.0.1, < 7.1.3→ 7.1.3 |
7.1.3 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-115754 node-serialize-javascript Fix available
- Ubuntu UBUNTU-CVE-2026-115754 node-serialize-javascript No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- patch github.com
- REDHAT Red Hat
- web github.com