[ CVE-2026-124493 · Published 8 Nov 2026 ]
Vulnerability in JiHong88 suneditor
[ Why it matters ]Priority signals
- Critical severity: CVSS 9.3
[ Description ]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.
[ Fixes ]How to fix it
Fixed versions
- JiHong88 suneditor: upgrade to 3.4.0 or laterEarlier versions are listed as affected
From the affected-version ranges in the CVE record. Check the vendor's advisory for the exact release for your platform or branch.
Vendor advisories and patches
- Vendor advisorygithub.com
Until you can patch: our advice
- Limit what injected script can do. A strict Content Security Policy and web application firewall rules against cross-site scripting reduce the impact until the fix is in.
- Keep it off the internet. It can be attacked over the network without an account. Until you have patched, make sure the affected service is not reachable from the internet: close the port, or put it behind a VPN or a firewall allow-list.
- Warn the people who could trigger it. It needs someone to open a file, link or page. Warn users, and block the file types involved at the mail and web gateway if you can.