Read the docs

Stored cross-site scripting in SunEditor FileUpload plugin file names

Priority MEDIUM 57CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-79.

Summary

SunEditor before 3.4.0 has a stored cross-site scripting flaw (CWE-79) in the FileUpload plugin's create() method. It assigns file names returned by the server to innerHTML without escaping. A user with low privileges can upload files with HTML-laden names that bypass html.clean() and run JavaScript in victims' browsers when content or gallery items load, enabling session theft.

Written with Claude Haiku 5.5 from the sources below · 2026-11-09

Description from the CNA

SunEditor before 3.4.0 contains a stored cross-site scripting vulnerability in the FileUpload plugin create() method that assigns server-returned file names to innerHTML without escaping. Attackers can upload files with HTML-laden names that bypass html.clean() and execute JavaScript in victims' browsers when content or gallery items load, enabling session theft.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00169 6th percentileScored 2026-11-16
Fix Fixed suneditor (JiHong88): 3.4.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
JiHong88suneditorbefore 3.4.03.4.0Patch availableCNA
  • suneditor VendorJiHong88 Affected before 3.4.0 Fixed in 3.4.0 Patch available CNA

Remediation

The fixed version is suneditor 3.4.0 from JiHong88, so update to 3.4.0 or later.

Written with Claude Haiku 5.5 from the sources below · 2026-11-09

  • Fix · CNA suneditor (JiHong88) Fixed in 3.4.0

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    JiHong88 suneditor 3.4.0

    5 records Highest priority Priority HIGH 2 HIGH, 2 MEDIUM, 1 LOW

    Other records, highest priority first

    • TI-2026-86853 Stored cross-site scripting in SunEditor DocumentType headerPriority HIGH 81
    • TI-2026-86852 Stored cross-site scripting in SunEditor link modal bookmark listPriority HIGH 69
    • TI-2026-86854 Stored cross-site scripting in SunEditor HTML sanitizer bypassPriority MEDIUM 42

Timeline

  1. 2026-11-08 Threatist record created from CVE-2026-124491
  2. 2026-11-08 Alias added: GHSA-m98v-phcq-735w
  3. 2026-11-09 CISA SSVC decision points changed
  4. 2026-11-09 Priority changed: LOW → MEDIUM

References

  • TI-2026-42328 SunEditor: Critical XSS vulnerability - sanitizer bypass CVSS 3.1CRITICAL 10.0
  • TI-2026-86853 Stored cross-site scripting in SunEditor DocumentType header CVSS 4.0CRITICAL 9.3
  • TI-2026-39439 SunEditor: DOM XSS in SunEditor Embed Plugin via External Script Element After Iframe Embed CVSS 4.0HIGH 8.5
  • TI-2026-86852 Stored cross-site scripting in SunEditor link modal bookmark list CVSS 4.0HIGH 8.3
  • TI-2026-86854 Stored cross-site scripting in SunEditor HTML sanitizer bypass CVSS 4.0CRITICAL 9.3
  • TI-2026-86759 Stored cross-site scripting in SunEditor via html.clean() CVSS 4.0MEDIUM 5.3

Sources