Security mailing lists by PureSourceCode

CVE-2026-115754

LOW 2.3CVSS 4.0

Serialize JavaScript: Cross-site scripting (XSS) via unescaped </script at the end of a serialized function body

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.

Published
23 Oct 2026
Last modified
24 Oct 2026
Assigned by
disclosure@vulncheck.com
NVD status
Awaiting Analysis
Weakness
CWE-79
Also known as
CVE-2026-115897GHSA-m5mm-p8h7-m29v
Sources
NVDJSONOSV GHSA-m5mm-p8h7-m29vJSON

Scores

SourceScored byVersionScoreVector / decision
NVD disclosure@vulncheck.com (Secondary) CVSS 4.0 LOW 2.3 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
NVD disclosure@vulncheck.com (Secondary) CVSS 3.1 MEDIUM 4.7 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV npm serialize-javascript < 7.1.3 7.1.3

References

History

  • 25 Nov 2026 21:22 UTC · NVD: first stored (published 23 Oct 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 23 Oct 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.