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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-54606— SunEditor: DOM XSS in SunEditor Embed Plugin via External Script Element After Iframe Embed

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 是一个轻量级且功能强大的所见即所得(WYSIWYG)编辑器,基于原生 JavaScript 实现,且无任何外部依赖。在 3.1.4 版本之前,位于 的 SunEditor 嵌入插件使用 解析攻击者可控制的原始嵌入 HTML,并处理由此生成的 DOM 节点。当外部 元素跟随在一个有效的 之后时,该插件会根据攻击者控制的 属性重建一个 元素,并将其追加到实时 DOM 中,从而在编辑器页面中触发 JavaScript 执行。 如果应用程序在没有额外后端净化的情况下存储或回显 SunEditor 的内容

CVSS 8.5 · High

Affected Version Matrix 1

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

I. Basic Information for CVE-2026-54606

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: DOM XSS in SunEditor Embed Plugin via External Script Element After Iframe Embed
Source: CVE Program / CVE List V5
Vulnerability Description
SunEditor is a lightweight and powerful WYSIWYG editor in vanilla JavaScript with no dependencies. Prior to 3.1.4, the SunEditor Embed plugin in src/plugins/modal/embed.js parses attacker-controlled raw embed HTML with DOMParser and processes the resulting DOM nodes. When an external script element follows a valid iframe, the plugin recreates a script element from the attacker-controlled src attribute and appends it to the live DOM, causing JavaScript execution in the editor page. If an application stores or reflects SunEditor content without additional backend sanitization, an attacker who can submit embed HTML can trigger stored or reflected cross-site scripting when another user opens, previews, renders, or edits the content, enabling access to page data and account actions as the victim. This issue is fixed in version 3.1.4.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
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 < 3.1.4 -

II. Public POCs for CVE-2026-54606

# 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-54606

登录查看更多情报信息。

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

Vendor Advisories for CVE-2026-54606 (1)

Vendor Pages for CVE-2026-54606 (1)

Other References for CVE-2026-54606 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-54606

No comments yet


Leave a comment