SunEditor before 3.4.0 Stored XSS via FileUpload Plugin Filename
- State
- Published
- Severity
- 5.3 Medium
- Published
- Nov 8, 2026
- Updated
- Nov 9, 2026
- Reserved
- Nov 8, 2026
Description
SunEditor before 3.4.0 contains a stored cross-site scripting vulnerability in the FileUpload plugin create() method that assigns server-returned file names to innerHTML without escaping. Attackers can upload files with HTML-laden names that bypass html.clean() and execute JavaScript in victims' browsers when content or gallery items load, enabling session theft.
| Product | Versions |
|---|---|
| suneditor JiHong88 | before 3.4.0 Affected3.4.0 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 5.3 Medium | VulnCheck | |
| 3.1 | 6.4 Medium | VulnCheck |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
- GitHub Security Advisory (GHSA-2w4v-r3v4-f5h4)Vendor Advisory
- VulnCheck Advisory: SunEditor before 3.4.0 Stored XSS via FileUpload Plugin FilenameThird-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.