Patchfirst
CVE-2026-124493 Critical · 9.3 EPSS 0.3%

SunEditor before 3.4.0 Stored XSS via DocumentType Header textContent

Fix:the vendor lists fixed versions See versions ↓

JiHong88 · suneditor

Summary

The SunEditor rich-text editor, versions before 3.4.0, contains a stored cross-site scripting flaw in its DocumentType constructor, which inserts header text into innerHTML without HTML escaping. An attacker who can store crafted, entity-encoded HTML in h1-h6 headers can execute JavaScript when an editor using document:header mode initializes, which requires user interaction and can be used to steal session cookies.

Official description · NVD

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.

Breakdown
14.4 / 100
Exploited
Not confirmed
Reports
0
Tactics
0/15

Disclosed on 8 Nov 2026. No public exploit code or confirmed exploitation is recorded.

Affected versions and fixes

as published in the CVE record

JiHong88 suneditor

Affected: < 3.4.0

Not affected: 3.4.0

What security researchers reported

Not named in any threat report yet

Also mentioned in 8 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

2 links, grouped by NVD tag (1 duplicate merged)
↑ ↓ chooseEnter openEsc close