Intel

AIKIDO-2026-746486

suneditor is vulnerable to Cross-Site Scripting (XSS)

Cross-Site Scripting (XSS)CVE-2026-59167 Published Yesterday

100

Critical Risk

This Affects:

JSsuneditor
0.0.1 - 2.47.10
Fixed in 2.47.11
Are you affected? Scan for Free

TL;DR

SunEditor's HTML sanitization does not fully strip executable event-handler attributes from crafted namespaced or custom tags such as <a:b>. An attacker can submit editor content containing these tags with attributes like onclick or JavaScript URI schemes, and the malicious attributes survive sanitization and execute when the rendered element is interacted with. Depending on how the editor output is stored and displayed, this enables stored or reflected cross-site scripting in the victim's browser context. The fix sanitizes code-view input before parsing and tightens the disallowed-tag matching to cover additional script-adjacent tags and namespaced selectors.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

suneditor is vulnerable to Cross-Site Scripting (XSS) in versions 0.0.1 - 2.47.10.

How to fix this

Upgrade the suneditor library to the patch version.