SunEditor 3.0.0 before 3.4.0 Stored XSS via html.clean() Iframe Placeholder
- State
- Published
- Severity
- 5.3 Medium
- Published
- Nov 8, 2026
- Updated
- Nov 10, 2026
- Reserved
- Nov 8, 2026
Description
SunEditor from 3.0.0 before 3.4.0 contains a stored cross-site scripting vulnerability in html.clean() that rebuilds iframes from data-se-iframe-holder-attrs JSON without filtering srcdoc or uppercase SRC keys. Attackers can inject crafted HTML through paste, html.set, or html.insert to execute script in the host page origin when victims load or paste the content.
| Product | Versions |
|---|---|
| suneditor jihong88 | 3.0.0 to before 3.4.0 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 5.3 Medium | VulnCheck | |
| 3.1 | 6.1 Medium | VulnCheck |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
- GitHub Security Advisory (GHSA-q867-q2hw-f8gp)Vendor Advisory
- https://github.com/JiHong88/suneditor/commit/57db24ac218cd10942fed0bb8288e9cb40b334bbPatch
- suneditor 3.4.0 Release NotesRelease Notes
- https://github.com/JiHong88/suneditor/blob/3.3.3/src/core/logic/dom/html.js#L336-L350Technical Details
- VulnCheck Advisory: SunEditor 3.0.0 before 3.4.0 Stored XSS via html.clean() Iframe PlaceholderThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.