CVE-2026-124493: JiHong88 suneditor · Cross-site scripting
Exploitation: Public exploit · CVSS 9.3 Critical · Unauthenticated · Published 2026-11-08
Description
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.
Fix
Upgrade to 3.4.0.
Affected versions
| Product | Vulnerable | Fixed in |
|---|---|---|
| suneditor | 0 before 3.4.0 | 3.4.0 |