---
title: "CVE-2026-59167: SunEditor: Critical XSS vulnerability - sanitizer bypass"
url: https://erroneo.us/security/cve/CVE-2026-59167/
description: "CVE-2026-59167 (suneditor (npm)): SunEditor is a lightweight and powerful WYSIWYG editor in vanilla JavaScript with no dependencies. Prior to 2.47.11, the…"
type: vulnerability-record
section: "Security Digest"
date_published: 2026-09-23
date_modified: 2026-09-24
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2026-59167"
kev: false
cvss: 10
epss: 0.00393
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2026-59167: SunEditor: Critical XSS vulnerability - sanitizer bypass

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV , but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 0.4% , percentile 32: FIRST’s model estimates a 0.4% chance of exploitation activity in the next 30 days, higher than 32% of all scored CVEs (low). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes suneditor (npm) <= 2.47.10, fixed in 2.47.11 . Check your lockfile, including transitive dependencies.

## What it is

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.

## Affected packages

- npm `suneditor` <= 2.47.10 → fixed: 2.47.11

## Affected products (CVE record)

- JiHong88 suneditor: < 2.47.11

## Severity

- GitHub_M CVSS 3.1: 10 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- GitHub CVSS 3.1: 10.0 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc , automatable yes , technical impact total .
- FIRST EPSS (model of 2026-10-21): 0.39% probability of exploitation activity in the next 30 days; percentile 32.

## Sources

- [GitHub Advisory GHSA-6rf4-v2fh-m6p4](https://github.com/advisories/GHSA-6rf4-v2fh-m6p4)
- [CVE.org record CVE-2026-59167](https://www.cve.org/CVERecord?id=CVE-2026-59167)
- [NVD entry CVE-2026-59167](https://nvd.nist.gov/vuln/detail/CVE-2026-59167)
- [github.com](https://github.com/JiHong88/suneditor/security/advisories/GHSA-6rf4-v2fh-m6p4)
- [github.com](https://github.com/JiHong88/suneditor/issues/1646)
- [github.com](https://github.com/JiHong88/suneditor/commit/a94ace269c7102bfb6de58a27a6547bc4eb09045)
- [github.com](https://github.com/JiHong88/suneditor/releases/tag/2.47.11)

---
Source page: https://erroneo.us/security/cve/CVE-2026-59167/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
