critical9.3
CVE-2026-124493
SunEditor before 3.4.0 contains a stored cross-site scripting vulnerability in the DocumentType constructor that injects header textContent into innerHTML with…
Impact
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.
An attacker can exploit this over the network, without logging in, but a user has to be involved, for example by viewing content. If it succeeds: high risk of data being read, high risk of data or systems being changed.
Affected products · JiHong88
| Product | Affected versions |
|---|---|
| Suneditor | before 3.4.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/JiHong88/suneditor/security/advisories/GHSA-h9pq-57qf-vvfh
- https://www.vulncheck.com/advisories/suneditor-before-3.4.0-stored-xss-via-documenttype-header-textcontent
- https://github.com/advisories/GHSA-pxmj-79fq-gv83
- https://nvd.nist.gov/vuln/detail/CVE-2026-124493