Read the docs

Stored cross-site scripting in SunEditor DocumentType header

Priority HIGH 81CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Passive
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 the DocumentType constructor, which inserts header text into innerHTML without HTML escaping. A remote attacker with low privileges and user interaction can store entity-encoded HTML in h1-h6 headers that runs JavaScript when an editor in document:header mode initializes, enabling session cookie theft.

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

Description from the CNA

SunEditor before 3.4.0 contains a stored cross-site scripting vulnerability in the DocumentType constructor that injects header textContent into innerHTML without HTML escaping. Attackers can store entity-encoded HTML in h1-h6 headers that executes JavaScript when editors using document:header mode initialize, enabling session cookie theft.

Why it matters now

Exploitation Proof of concept 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
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 3.4.03.4.0Patch availableCNA
  • suneditor VendorJiHong88 Affected before 3.4.0 Fixed in 3.4.0 Patch available CNA

Remediation

Update SunEditor to version 3.4.0 or later, which fixes the issue.

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

  • 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-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
    • 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-124493
  2. 2026-11-08 Alias added: GHSA-pxmj-79fq-gv83
  3. 2026-11-12 CISA SSVC decision points changed
  4. 2026-11-12 Priority changed: MEDIUM → HIGH

References

  • TI-2026-42328 SunEditor: Critical XSS vulnerability - sanitizer bypass CVSS 3.1CRITICAL 10.0
  • 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-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