Read the docs

Stored cross-site scripting in SunEditor HTML sanitizer bypass

Priority MEDIUM 42CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Active
Attack complexity
Low
Attack requirements
None
Impact type
Cross-site scripting
Confidentiality · integrity · availability
High · High · 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 contains a stored cross-site scripting flaw (CWE-79) in its html.clean() sanitizer. The URL normalization step decodes named entities such as : to an empty string, so href values like javascript: pass the safety check and are decoded by browsers. A remote attacker without privileges can store such a link, and JavaScript runs when a victim clicks it.

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

Description from the CNA

SunEditor before 3.4.0 contains a stored cross-site scripting vulnerability because the html.clean() sanitizer's _normalizeURL() function decodes named entities like : to an empty string. Attackers can inject href values such as javascript: that pass the _isSafeURL() check but are decoded by browsers, executing JavaScript when victims click stored links.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00344 28th percentileScored 2026-11-16
Fix Fixed suneditor (JiHong88): 3.4.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

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

Upgrade JiHong88 SunEditor to version 3.4.0 or later.

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

  • 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-86851 Stored cross-site scripting in SunEditor FileUpload plugin file namesPriority MEDIUM 57

Timeline

  1. 2026-11-08 Threatist record created from CVE-2026-124494
  2. 2026-11-08 Alias added: GHSA-cm78-x5pp-rjx2
  3. 2026-11-10 CISA SSVC decision points changed

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-86851 Stored cross-site scripting in SunEditor FileUpload plugin file names CVSS 4.0MEDIUM 5.3
  • TI-2026-86759 Stored cross-site scripting in SunEditor via html.clean() CVSS 4.0MEDIUM 5.3

Sources