CVE Catalog

CVE-2026-54606

HighCVSS 8.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.35%

28th percentile - higher than 28% of all known CVEs

Summary

SunEditor before 3.1.4 has a vulnerability in the Embed plugin that allows JavaScript execution in the editor. The plugin parses raw embed HTML and recreates external script elements, leading to XSS. If an application stores or reflects content without additional sanitization, an attacker can trigger stored or reflected XSS.

Risk Assessment

An attacker can access page data and perform actions on the victim's account when the victim opens, previews, or edits content containing malicious code.

Recommendation

Update SunEditor to version 3.1.4 or later. Additionally, apply server-side content sanitization to neutralize malicious scripts.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS