CVE-2026-124493 JiHong88 · suneditor
9.3 Critical
AI summary
SunEditor before 3.4.0 has a stored XSS flaw in the DocumentType constructor: entity-encoded HTML stored in h1-h6 headers executes as JavaScript when an editor in document:header mode initializes, enabling session cookie theft. No authentication is required, but user interaction is. Critical (CVSS 9.3); upgrade to 3.4.0.
Official 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.
- Published
- 2026-11-08 14:18 UTC
- Modified
- 2026-11-12 20:28 UTC
- CVSS
- 9.3 Critical
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - EPSS
- 0.46% (percentile 32)
- ENISA EUVD
- EUVD-2026-119548
- CISA SSVC
- Exploitation: poc · Automatable: yes · Technical impact: total
- CWE
- CWE-79
CVSS vector
- Attack vector
- network
- Attack complexity
- low
- Attack requirements
- none
- Privileges required
- none
- User interaction
- passive
- Confidentiality
- high
- Integrity
- high
- Availability
- none
References
- NVD · CVE.org
- github.com
https://github.com/JiHong88/suneditor/security/advisories/GHSA-h9pq-57qf-vvfh - www.vulncheck.com
https://www.vulncheck.com/advisories/suneditor-before-3.4.0-stored-xss-via-documenttype-header-textcontent