SunEditor before 3.4.0 Stored XSS via Link Modal Bookmark List
- State
- Published
- Severity
- 8.3 High
- Published
- Nov 8, 2026
- Updated
- Nov 13, 2026
- Reserved
- Nov 8, 2026
Description
SunEditor before 3.4.0 contains a stored cross-site scripting vulnerability in ModalAnchorEditor's #createBookmarkList, which inserts entity-decoded h1-h6 header textContent into the bookmark list via innerHTML without escaping. Attackers can store HTML-encoded payloads in editor headers that execute JavaScript when a victim opens the link modal and types # in the URL input.
| Product | Versions |
|---|---|
| suneditor JiHong88 | before 3.4.0 Affected3.4.0 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.3 High | VulnCheck | |
| 3.1 | 7.6 High | VulnCheck |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
- GitHub Security Advisory (GHSA-5pp5-5qrp-vq56)Vendor Advisory
- VulnCheck Advisory: SunEditor before 3.4.0 Stored XSS via Link Modal Bookmark ListThird-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.