SunEditor stored XSS in document header mode
JiHong88 suneditor
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| JiHong88 suneditor |
|
|
Original 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.
From the CVE record · VulnCheck