Technical impact
SunEditor before version 3.4.0 contains a stored cross‑site scripting flaw in its FileUpload plugin. The create() method assigns the filename returned by the server directly to innerHTML without escaping. An attacker can upload a file whose name contains malicious HTML or script. When the file is later displayed as a content or gallery item, the browser will execute the embedded JavaScript, allowing the attacker to steal the victim’s session or perform other client‑side actions. This vulnerability can compromise the confidentiality of user data via client‑side injection.
Affected Systems
All installations of SunEditor produced by JiHong88 that use a version earlier than 3.4.0 are affected. The flaw is tied to the FileUpload plugin and exists in any build that includes that plugin with the vulnerable create() implementation. No specific vendor patch details are provided, so any upgrade that includes version 3.4.0 or later resolves the issue.
Risk and Exploitability
The CVSS base score of 5.3 indicates a medium severity. The EPSS score is not available, so the current exploitation probability is unknown, but the lack of a KEV listing does not preclude independent attackers from targeting it. Exploitation requires the ability to upload a file through the vulnerable plugin, a capability typically granted to authenticated users. Once uploaded, the malicious filename is rendered in the browser’s DOM, effectively delivering the client‑side payload. The attack vector is inferred to be the FileUpload interface accessible via the editor’s UI or API, and requires that the victim view the affected content or gallery item.