{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-59167","id":"CVE-2026-59167","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 handl","descriptionLong":"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.","published":"2026-09-23T13:52:56.747Z","updated":"2026-11-11T10:47:32.345752933Z","reserved":"2026-07-02T16:50:27.887Z","status":"Awaiting Analysis","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"GitHub_M"},"metrics":[{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"GitHub_M"},{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"github.com"},{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"GitHub"}],"rating":"critical","products":["JiHong88 suneditor"],"affectedProducts":[{"vendor":"JiHong88","product":"suneditor","defaultStatus":null,"versions":[{"version":"< 2.47.11","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"suneditor","purl":"pkg:npm/suneditor","ranges":["<2.47.11"],"fixed":["2.47.11"],"advisory":"GHSA-6rf4-v2fh-m6p4"}],"cwes":["CWE-79"],"aliases":["GHSA-6rf4-v2fh-m6p4"],"references":[{"url":"https://github.com/JiHong88/suneditor/security/advisories/GHSA-6rf4-v2fh-m6p4","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/JiHong88/suneditor/issues/1646","tags":["x_refsource_MISC","report","web"]},{"url":"https://github.com/JiHong88/suneditor/commit/a94ace269c7102bfb6de58a27a6547bc4eb09045","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/JiHong88/suneditor/releases/tag/2.47.11","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59167.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59167","tags":["advisory"]},{"url":"https://github.com/JiHong88/suneditor","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total"},"epss":0.00499,"epssPercentile":0.4354,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-59167","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59167","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-59167","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-6rf4-v2fh-m6p4","ok":true,"note":"GHSA-6rf4-v2fh-m6p4"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-59167","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}