Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-59167— SunEditor: Critical XSS vulnerability - sanitizer bypass

Quick assessment

Affected
JiHong88 suneditor
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

SunEditor 是一个轻量级且功能强大的基于原生 JavaScript 的所见即所得(WYSIWYG)编辑器,无需任何外部依赖。在 2.47.11 版本之前,src/lib/core.js 中的 HTML 内容安全过滤机制未能始终如一地拒绝命名空间或非标准的 HTML 元素,导致攻击者可以构造包含事件处理程序属性(如 onclick、onerror 等)的恶意元素,这些属性在过滤后仍会被保留。 当应用程序渲染由攻击者控制的编辑器内容,且用户与该元素交互时,被保留的事件处理程序将在该应用程序的浏览器上下文中执行脚

CVSS 10.0 · Critical EPSS 0.50% · P43

Possible ATT&CK Techniques 1 AI

T1059.007 · JavaScript

Affected Version Matrix 1

VendorProduct Version RangeStatus
JiHong88 suneditor < 2.47.11 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-59167

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
SunEditor: Critical XSS vulnerability - sanitizer bypass
Source: CVE Program / CVE List V5
Vulnerability Description
SunEditor is a lightweight and powerful WYSIWYG editor in vanilla JavaScript with no dependencies. Prior to 2.47.11, the sanitizer in src/lib/core.js does not consistently reject namespaced or custom HTML elements, allowing event-handler attributes to remain on crafted elements. When an application renders attacker-controlled editor content and a user interacts with the element, the retained handler can execute script in the application's browser origin, enabling stored cross-site scripting, data exposure, or unauthorized browser-context actions. This issue is fixed in version 2.47.11.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
JiHong88 suneditor < 2.47.11 -

II. Public POCs for CVE-2026-59167

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-59167

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-59167 (1)

Other References for CVE-2026-59167 (3)

IV. Related Vulnerabilities