Technical impact
SunEditor versions prior to 3.4.0 contain a stored cross‑site scripting flaw in the modal that builds a bookmark list. The flaw injects entity‑decoded header text directly into a bookmark list via innerHTML without escaping, allowing attackers to embed malicious JavaScript into the editor headers. When a user opens the link modal and types a hash symbol (#) in the URL field, the stored payload executes in the victim’s browser, potentially compromising session state, injecting malware, or carrying out phishing attacks.
Affected Systems
The vulnerability affects all releases of SunEditor before 3.4.0 deployed on any platform that uses the Editable Anchor Modal component. The issue exists in all vendor implementations that ship the editor unchanged, as noted by the vendor JiHong88. Users of older SunEditor versions without the patch should consider their installations exposed.
Risk and Exploitability
The CVSS base score of 8.3 reflects a high‑confidence, high‑impact client‑side flaw. No EPSS score is publicly available, and the issue is not listed in the CISA KEV catalog, indicating it has not yet been widely exploited. The likely attack vector is inferred to require that an attacker gains the ability to add or edit article headers in the editor; once a malicious payload is stored, any subsequent opening of the link modal by a user will trigger the code. The risk to user data and application integrity is significant, as the stored script runs with the user’s privileges in the browser.