CVE Catalog

CVE-2026-124493

CriticalCVSS 9.3
Published: Translated: NVD NIST

Summary

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.

Risk Assessment

Users of the editor may suffer session cookie theft, allowing attackers to hijack their accounts. This can result in unauthorized system access and data leakage.

Recommendation

Update SunEditor to version 3.4.0 or later. Additionally, consider enforcing a Content Security Policy that restricts script execution within the editor context.

Other vulnerabilities in SunEditor

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS