# CVE-2026-124493: SunEditor before 3.4.0 Stored XSS via DocumentType Header textContent

- Severity: Critical 9.3 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 29% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-08T13:16:09.204Z
- Modified: 2026-11-12T20:28:31.817Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: 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.

(As written by CVE List.)

## Affected

- JiHong88 suneditor: before 3.4.0 (not affected: 3.4.0)

## References

- <https://github.com/JiHong88/suneditor/security/advisories/GHSA-h9pq-57qf-vvfh> (exploit, vendor-advisory)
- <https://www.vulncheck.com/advisories/suneditor-before-3.4.0-stored-xss-via-documenttype-header-textcontent> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-124493](https://www.cve.org/CVERecord?id=CVE-2026-124493), CVE Terms of Use, modified 2026-11-12
- NVD: [CVE-2026-124493](https://nvd.nist.gov/vuln/detail/CVE-2026-124493), Public domain, modified 2026-11-12

---

Page: https://cve.day/CVE-2026-124493 · Whole record: https://cve.day/CVE-2026-124493.json · Rebuilt by cve.day 2026-11-25T22:59:49.526Z
