Skip to content
Fencer Vulns
medium 4.7

CVE-2026-115754 json

serialize-javascript 7.0.1 before 7.1.3 XSS via unescaped </script in function body

published 2026-10-23 17 d ago modified 2026-10-24 16 d ago also CVE-2026-115897 , EUVD-2026-108967 , GHSA-m5mm-p8h7-m29v

cvss
4.7
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.2%
EPSS 0.2% chance of exploitation in 30 days, percentile 14%
public exploits
0
none known

Summary

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.

Patch / fix

  • npm serialize-javascript 7.1.3
  • yahoo serialize-javascript 7.1.3
  • node-serialize-javascript Debian 14 7.1.4+~5.0.4-1

debian advisories DEBIAN-CVE-2026-115754

  • agama-web-ui openSUSE Tumbleweed 25+475.275dd4727-56.1

opensuse advisories openSUSE-SU-2026:12424-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-115754 updated cvss 4.7

serialize-javascript: serialize-javascript: Cross-site scripting via unescaped function serialization

  • Red Hat Hardened Images grafana12.4 12.4.13-0.6.hum1
    fixed: vendor fix RHSA-2026:93601
  • Red Hat Hardened Images dotnet10.0 10.0.113-1.hum1, dotnet8.0 8.0.132-0.1.hum1, dotnet9.0 9.0.122-0.1.hum1, grafana13.1 13.1.8-0.4.hum1, grafana13.2 13.2.4-0.3.hum1, prometheus3.13 3.13.5-0.1.hum1
    not affected: component not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
17 d ago

Exploit prediction

0.23% chance of exploitation in the next 30 days, higher than 14% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 4.0 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
CNA 3.1 4.7 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
CNA 4.0 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

Affected packages

ecosystem package affected fixed in
npm serialize-javascript
<7.1.3
7.1.3

Affected products

  • yahoo serialize-javascript

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.