CVE-2026-137557: SunEditor 3.0.0 before 3.4.3 Stored XSS via codeBlock Language Hover Button
SunEditor from 3.0.0 before 3.4.3 contains a stored cross-site scripting vulnerability in the codeBlock plugin that allows attackers to inject script via entity-encoded pre language class values. Attackers can store content whose language- class decodes to HTML written via innerHTML into the hover button, executing script when victims hover over the block.
Affected Software
Event History
Frequently Asked Questions
Which SunEditor versions are affected?
SunEditor versions from 3.0.0 up to, but not including, 3.4.3 are affected.
What access does an attacker need?
The attacker needs low-level privileges sufficient to store crafted content containing a code block. Exploitation is network-reachable and does not require complex attack conditions.
When does the stored payload execute?
A victim must hover over the affected code block's language hover button. The vulnerability has a user-interaction requirement for this hover action.