{"cve":"CVE-2026-54606","nvd":{"published":"2026-08-26T16:16:27.890","modified":"2026-09-09T21:09:13.080","status":"Deferred","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.","cvss_v4":{"vector":"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","score":8.5},"cvss_v3":null,"cwes":["CWE-79"],"references":["https://github.com/JiHong88/suneditor/commit/9d43a5e082101d2d6475cba86e0d58d7c2cf6677","https://github.com/JiHong88/suneditor/issues/1649","https://github.com/JiHong88/suneditor/releases/tag/3.1.4","https://github.com/JiHong88/suneditor/security/advisories/GHSA-w93q-cq9w-58p7","https://github.com/JiHong88/suneditor/security/advisories/GHSA-w93q-cq9w-58p7"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:50:17.453294893+00:00"},"epss":{"cve":"CVE-2026-54606","score":0.00581,"percentile":0.4778,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-w93q-cq9w-58p7","url":"https://osv.dev/vulnerability/GHSA-w93q-cq9w-58p7","summary":"SunEditor Embed Plugin has DOM XSS via External Script Element After Iframe Embed","modified":"2026-10-30T17:15:03.854697918Z","packages":[{"ecosystem":"npm","name":"suneditor","purl":"pkg:npm/suneditor","ranges":[">=3.0.0 <3.1.4"],"fixed":["3.1.4"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}