Read the docs
TI-2026-42328 Aliases CVE-2026-59167GHSA-6rf4-v2fh-m6p4

SunEditor: Critical XSS vulnerability - sanitizer bypass

Priority HIGH 82CWE-79Published · Updated

Key facts

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

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.

Summary

SunEditor is a lightweight and powerful WYSIWYG editor in vanilla JavaScript with no dependencies. Prior to 2.47.11, the sanitizer in src/lib/core.js does not consistently reject namespaced or custom HTML elements, allowing event-handler attributes to remain on crafted elements. When an application renders attacker-controlled editor content and a user interacts with the element, the retained handler can execute script in the application's browser origin, enabling stored cross-site scripting, data exposure, or unauthorized browser-context actions. This issue is fixed in version 2.47.11.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00499 43rd percentileScored 2026-11-07
Fix Fixed suneditor (JiHong88): 2.47.11suneditor (npm): 2.47.11

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
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 2.47.112.47.11Patch availableCNA
—suneditor (npm)before 2.47.112.47.11Patch availableGHSA-6rf4-v2fh-m6p4
  • suneditor VendorJiHong88 Affected before 2.47.11 Fixed in 2.47.11 Patch available CNA
  • suneditor (npm) Vendor— Affected before 2.47.11 Fixed in 2.47.11 Patch available GHSA-6rf4-v2fh-m6p4

Remediation

  • Fix · CNA suneditor (JiHong88) Fixed in 2.47.11
  • Fix · GHSA-6rf4-v2fh-m6p4 suneditor (npm) Fixed in 2.47.11 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-59167
  2. 2026-10-03 Alias added: GHSA-6rf4-v2fh-m6p4

References

  • TI-2026-39439 SunEditor: DOM XSS in SunEditor Embed Plugin via External Script Element After Iframe Embed CVSS 4.0HIGH 8.5
  • TI-2026-86759 Stored cross-site scripting in SunEditor via html.clean() CVSS 4.0MEDIUM 5.3

Sources