CVE-2026-124493
published critical CVSS 4.0 · 9.3SunEditor before 3.4.0 Stored XSS via DocumentType Header textContent
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| JiHong88 | — | suneditor0 to < 3.4.0 (affected · semver) · 3.4.0 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.3 / 10
- Severity
- critical
- Provider
- VulnCheck · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| JiHong88 | suneditor | 0 to < 3.4.0 (affected · semver)3.4.0 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
2- GitHub Security Advisory (GHSA-h9pq-57qf-vvfh) https://github.com/JiHong88/suneditor/security/advisories/GHSA-h9pq-57qf-vvfh
- VulnCheck Advisory: SunEditor before 3.4.0 Stored XSS via DocumentType Header textContent https://www.vulncheck.com/advisories/suneditor-before-3.4.0-stored-xss-via-documenttype-header-textcontent
Provider assertions
2VulnCheck · cna
SunEditor before 3.4.0 Stored XSS via DocumentType Header textContent
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3f807fb234bc7e332a7d44ba1577f09ae19d4da6090cb3e8552411de622e672e
- Ingested
- 12 Nov 2026, 14:16:45 UTC
- Source record
- Official CVE record