PT-2026-82210 · Suneditor · Suneditor
CVSS v4.0
8.5
High
| Vector | AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
SunEditor versions prior to 3.1.4
Description
A DOM-based Cross-Site Scripting (XSS) issue exists in the SunEditor Embed plugin within
src/plugins/modal/embed.js. The plugin uses DOMParser to parse raw embed HTML and processes the resulting DOM nodes. If an external script element follows a valid iframe, the plugin recreates a script element using the attacker-controlled src attribute and appends it to the live DOM, leading to arbitrary JavaScript execution. If the application stores or reflects this content without backend sanitization, it can result in stored or reflected XSS when other users open, preview, render, or edit the content, potentially allowing unauthorized account actions or access to page data.Recommendations
Update SunEditor to version 3.1.4.
As a temporary mitigation, restrict the use of the Embed plugin or ensure that all content processed by the editor is strictly sanitized on the backend before being stored or rendered.
Exploit
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Suneditor