SunEditor stored XSS in link modal bookmark list
JiHong88 suneditor
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| JiHong88 suneditor |
|
|
Original 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.
From the CVE record · VulnCheck