Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.1
CVE-2026-124493: SunEditor before 3.4.0 lets hidden code run in headers
CVE-2026-124493 · published 14 days ago
Summary
The SunEditor web editor versions earlier than 3.4.0 let an attacker place specially crafted text in heading fields (h1‑h6). When another user opens a document in header‑editing mode, the hidden code runs in their browser and can steal session information. Upgrade SunEditor to version 3.4.0 or later, or apply the vendor’s patch, to stop this behavior.
What to do
- Update jihong88 suneditor to version 3.4.0 or later.
Affected software
| Vendor | Product | Affected versions |
|---|---|---|
| jihong88 | suneditor | < 3.4.0 |
Original advisory text
SunEditor before 3.4.0 Stored XSS via DocumentType Header textContent
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.
References
- https://github.com/JiHong88/suneditor/security/advisories/GHSA-h9pq-57qf-vvfh Vendor Advisory
- https://www.vulncheck.com/advisories/suneditor-before-3.4.0-stored-xss-via-docum... Vendor Advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/124xxx/CVE-2026-1244... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-124493 Vendor Advisory
Internet-facing
3 days
Internal
60 days
- Not known to be exploited
- Can be exploited automatically
- Gives an attacker full control
Severity
9.1
Critical
Type
CWE-79Cross-site Scripting (XSS)
Timeline
Published8 Nov 2026
Updated22 Nov 2026
First seen8 Nov 2026
Sources
CVE-2026-124493 · NVD
CVE-2026-124493 · OSV
GHSA-h9pq-57qf-vvfh · GHSA
CVE-2026-124493 · MITRE
Track software like this
Free during beta