Live threats

All CVEs / JiHong88

CVE-2026-59167JiHong88 suneditor

Stored cross-site scripting in SunEditor due to insufficient sanitization

Critical 10.0 No auth needed

Priority
75
CVSS 3.1
10.0
EPSS
—
Auth required
No
Published
Sep 23, 2026
Updated
Sep 24, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

What happens

SunEditor prior to version 2.47.11 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, the retained handler can execute script in the application's browser origin, enabling stored cross-site scripting, data exposure, or unauthorized browser-context actions.

Show the original NVD text

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.

Source text, unmodified. NVD.

What to do

Patch available · fixed versions: 2.47.11

Update SunEditor to version 2.47.11 or later to apply the sanitizer fix.

Vendor advisory · github.com ↗

  1. Apply the vendor's security update for suneditor.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm suneditor < 2.47.11 2.47.11 npm install suneditor@2.47.11

Per OSV / GitHub Advisories (GHSA-6rf4-v2fh-m6p4). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.