Skip to content
OpenAdvisories
Critical · 9.3 CVE-2026-124493 EUVD-2026-119548GHSA-pxmj-79fq-gv83

SunEditor before 3.4.0 Stored XSS via DocumentType Header textContent

Published Nov 8, 2026 · Updated Nov 12, 2026 · Assigned by VulnCheck

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.

Affected products

VendorProductAffectedFixed
JiHong88 suneditor < 3.4.0 3.4.0

References