Skip to content
Heist/ feed
Critical

SunEditor: Critical XSS vulnerability - sanitizer bypass

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2026-59167

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-59167

suneditor

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "JiHong88",
    "product": "suneditor",
    "versions": [
      {
        "status": "affected",
        "version": "< 2.47.11"
      }
    ]
  }
]
Related CVEs
CVE-2026-59167

Source reference: /cveMetadata/cveId

Publisher severity

critical

Source reference: /containers/cna/metrics

Linked CVE context

These ratings describe the referenced vulnerabilities and products. They are not a severity rating for every application using this dependency.

Event
#1733 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement