CVE-2026-137557: SunEditor 3.0.0 before 3.4.3 Stored XSS via codeBlock Language Hover Button

Published Nov 26, 2026
·
Updated

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

1 affected component
npm/suneditor>=3.0.0<3.4.3

Event History

Nov 26, 2026
CVE Published
via MITRE·04:00 PM
Data Sourced
via MITRE·04:00 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:18 PM
DescriptionSeverityWeakness
Event
via NVD·04:18 PM

Frequently Asked Questions

1

Which SunEditor versions are affected?

SunEditor versions from 3.0.0 up to, but not including, 3.4.3 are affected.

2

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.

3

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203