SunEditor before 3.4.0 contains a stored cross-site scripting vulnerability in the DocumentType constructor that injects header textContent into innerHTML without HTML escaping. Attackers can store entity-encoded HTML in h1-h6 headers that executes JavaScript when editors using document:header mode initialize, enabling session cookie theft.

Project Subscriptions

Vendors Products
Jihong88 Subscribe
Suneditor Subscribe
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Sun, 08 Nov 2026 18:15:00 +0000

Type Values Removed Values Added
First Time appeared Jihong88
Jihong88 suneditor
Vendors & Products Jihong88
Jihong88 suneditor

Sun, 08 Nov 2026 13:30:00 +0000

Type Values Removed Values Added
Description SunEditor before 3.4.0 contains a stored cross-site scripting vulnerability in the DocumentType constructor that injects header textContent into innerHTML without HTML escaping. Attackers can store entity-encoded HTML in h1-h6 headers that executes JavaScript when editors using document:header mode initialize, enabling session cookie theft.
Title SunEditor before 3.4.0 Stored XSS via DocumentType Header textContent
Weaknesses CWE-79
References
Metrics cvssV4_0

{'score': 9.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-12T14:12:42.900Z

Reserved: 2026-11-08T02:21:16.290Z

Link: CVE-2026-124493

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-11-08T14:18:19.130

Modified: 2026-11-12T20:28:31.817

Link: CVE-2026-124493

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-08T18:00:15Z

Weaknesses