CVE-2026-54606CWE-79cross-site-scripting

CVE-2026-54606

published August 26, 2026

CVSS
8.5
EPSS
1%
Percentile
47.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
8.5 · NONE
CVSS v4.0
8.5 · 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
EPSS
0.00581 · 47.0th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2026-08-26T20:16Z
References (5)
EPSS history
Timeline
  • 28 AUG 06:46Z
    EPSS moved — → 0%
    epss
  • 26 AUG 15:25Z
    SunEditor: DOM XSS in SunEditor Embed Plugin via External Script Element After Iframe Embed
    cvelistv5