Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-59167

SunEditor: Critical XSS vulnerability - sanitizer bypass
Back to all
CVE

CVE-2026-59167

SunEditor: Critical XSS vulnerability - sanitizer bypass

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.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
10
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
C
H
U
-

Related Resources

No items found.

References

https://github.com/JiHong88/suneditor/releases/tag/2.47.11, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59167.json, https://github.com/JiHong88/suneditor/security/advisories/GHSA-6rf4-v2fh-m6p4, https://nvd.nist.gov/vuln/detail/CVE-2026-59167, https://github.com/JiHong88/suneditor/issues/1646, https://github.com/JiHong88/suneditor/commit/a94ace269c7102bfb6de58a27a6547bc4eb09045

Severity

10

CVSS Score
0
10

Basic Information

Base CVSS
10
EPSS Probability
0.00393%
EPSS Percentile
0.31997%
Introduced Version
0
Fix Available
7fd007adb7c0504a4c63cfbb74f17a667fab58b3

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading