{"id":"CVE-2026-59167","published":"2026-09-23T13:52:56Z","modified":"2026-09-24T14:52:33Z","title":"SunEditor: Critical XSS vulnerability - sanitizer bypass","vendor":"JiHong88","product":"suneditor","tier":"tail","description":{"text":"SunEditor is a lightweight and powerful WYSIWYG editor in vanilla JavaScript with no dependencies. Prior to 2.47.11, the sanitizer in src/lib/core.js does not consistently reject namespaced or custom HTML elements, allowing event-handler attributes to remain on crafted elements. When an application renders attacker-controlled editor content and a user interacts with the element, the retained handler can execute script in the application's browser origin, enabling stored cross-site scripting, data exposure, or unauthorized browser-context actions. This issue is fixed in version 2.47.11.","provenance":"source","from":"CVE.org"},"cvss":{"score":10,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00499,"percentile":0.43682,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/JiHong88/suneditor/security/advisories/GHSA-6rf4-v2fh-m6p4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/JiHong88/suneditor/issues/1646","tags":["x_refsource_MISC"]},{"url":"https://github.com/JiHong88/suneditor/commit/a94ace269c7102bfb6de58a27a6547bc4eb09045","tags":["x_refsource_MISC"]},{"url":"https://github.com/JiHong88/suneditor/releases/tag/2.47.11","tags":["x_refsource_MISC"]}],"priority":{"score":15.7,"factors":[{"name":"EPSS percentile","points":8.74},{"name":"CVSS severity","points":7.0}]},"vendorSlug":"jihong88","affectedVersions":[{"vendor":"JiHong88","product":"suneditor","versions":["< 2.47.11"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-09-24T14:24:21.114425Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"suneditor","vulnerableRanges":["<2.47.11"],"patched":["2.47.11"],"from":["GHSA-6rf4-v2fh-m6p4"],"provenance":"source"}],"summary":{"text":"The SunEditor WYSIWYG editor (JavaScript, by JiHong88) has a flaw in the sanitizer in src/lib/core.js, which fails to consistently reject namespaced or custom HTML elements and so lets event-handler attributes survive on crafted elements. An attacker who can supply editor content that the application renders can have a user interact with the element to run script in the application's browser origin, which requires no authentication or privileges.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:10:16Z"},"euvd":{"id":"EUVD-2026-85324","exploited":false,"provenance":"source"}}