{"id":"CVE-2026-59167","state":"PUBLISHED","title":"SunEditor: Critical XSS vulnerability - sanitizer bypass","description":"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.","publishedAt":"2026-09-23T13:52:56.747Z","updatedAt":"2026-09-24T14:52:33.658Z","severity":{"score":10,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["JiHong88 suneditor"],"affected":[{"vendor":"JiHong88","product":"suneditor","versions":[{"version":"< 2.47.11","status":"affected"}]}],"references":["https://github.com/JiHong88/suneditor/security/advisories/GHSA-6rf4-v2fh-m6p4","https://github.com/JiHong88/suneditor/issues/1646","https://github.com/JiHong88/suneditor/commit/a94ace269c7102bfb6de58a27a6547bc4eb09045","https://github.com/JiHong88/suneditor/releases/tag/2.47.11"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:12:32.778Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/59xxx/CVE-2026-59167.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-59167","state":"PUBLISHED","datePublished":"2026-09-23T13:52:56.747Z","dateUpdated":"2026-09-24T14:52:33.658Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-07-02T16:50:27.887Z"},"containers":{"cna":{"title":"SunEditor: Critical XSS vulnerability - sanitizer bypass","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"JiHong88","product":"suneditor","versions":[{"version":"< 2.47.11","status":"affected"}]}],"references":[{"url":"https://github.com/JiHong88/suneditor/security/advisories/GHSA-6rf4-v2fh-m6p4","name":"https://github.com/JiHong88/suneditor/security/advisories/GHSA-6rf4-v2fh-m6p4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/JiHong88/suneditor/issues/1646","name":"https://github.com/JiHong88/suneditor/issues/1646","tags":["x_refsource_MISC"]},{"url":"https://github.com/JiHong88/suneditor/commit/a94ace269c7102bfb6de58a27a6547bc4eb09045","name":"https://github.com/JiHong88/suneditor/commit/a94ace269c7102bfb6de58a27a6547bc4eb09045","tags":["x_refsource_MISC"]},{"url":"https://github.com/JiHong88/suneditor/releases/tag/2.47.11","name":"https://github.com/JiHong88/suneditor/releases/tag/2.47.11","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":10,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-09-23T13:52:56.747Z"},"source":{"advisory":"GHSA-6rf4-v2fh-m6p4","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/JiHong88/suneditor/security/advisories/GHSA-6rf4-v2fh-m6p4","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-24T14:24:21.114425Z","id":"CVE-2026-59167","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-24T14:52:33.658Z"}}]}}}