CVE-2026-124492
SunEditor before 3.4.0 contains a stored cross-site scripting vulnerability in ModalAnchorEditor's #createBookmarkList, which inserts entity-decoded h1-h6 head…
Impact
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.
An attacker can exploit this over the network, with a regular user account, but a user has to be involved, for example by viewing content. If it succeeds: high risk of data being read, low risk of data or systems being changed.
Affected products · JiHong88
| Product | Affected versions |
|---|---|
| Suneditor | before 3.4.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/JiHong88/suneditor/security/advisories/GHSA-5pp5-5qrp-vq56
- https://www.vulncheck.com/advisories/suneditor-before-3.4.0-stored-xss-via-link-modal-bookmark-list
- https://github.com/advisories/GHSA-h8r9-r2r8-gxj7
- https://nvd.nist.gov/vuln/detail/CVE-2026-124492