JiHong88 SunEditor
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS9.3critical · scored by CNA · CWE-79
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
JiHong88 suneditor
- < 3.4.0
Fixed in 3.4.0
Mitigation
Upgrade suneditor to 3.4.0 or later.
References
- Vendor advisory github.com/JiHong88/suneditor/security/advisor…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.