CVE-2026-124493 SunEditor before 3.4.0 Stored XSS via DocumentType Header textContent
- Exploited in the wild
- Not known
- Fix
- None listed
What is CVE-2026-124493?
CVE-2026-124493 is a critical vulnerability in JiHong88 suneditor, published on 8 Nov 2026.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2026-124493?
How do I fix CVE-2026-124493?
No fix has been published for CVE-2026-124493 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-124493 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-124493 exists.
Sources
Also known as GHSA-h9pq-57qf-vvfh, GHSA-pxmj-79fq-gv83.