CVE-2026-59167: Vulnerability in suneditor
Critical. 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...
npm, CWE-79
- Exploitation
- None confirmed
- Severity
- 10 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-6rf4-v2fh-m6p4
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- Weakness
- CWE-79
- Published
- 23 Sept 2026
- Last change
- 24 Sept 2026
- Ecosystem
- npm
Affected packages
Vulnerable version ranges and fixed releases
- suneditor npm, Affected through 2.47.10. Fixed in 2.47.11
Advisories
Vendor and security advisories
- github.com/JiHong88/suneditor/security/advisories/GHSA-6rf4-v2fh-m6p4
- github.com/JiHong88/suneditor/issues/1646
Patches and fixes
Updates, commits and release notes