AploSec / Disclosures / CVE-2026-124422
SunEditor 3.0.0 before 3.4.0 Stored XSS via html.clean() Iframe Placeholder
CVE-2026-124422 · published 2026-11-08
In plain words: this type of bug lets someone run scripts in another person's browser (cross-site scripting, XSS). A fixed release is listed.
Summary
CVE-2026-124422 affects suneditor (npm) >= 3.0.0, < 3.4.0: html.clean() rebuilds iframe placeholders without filtering srcdoc (CWE-79). Fixed in 3.4.0. CVSS 4.0 base score 5.3 (Medium), assigned by VulnCheck. Published 2026-11-08 by VulnCheck. Credit: Zachariah Mithani, kemrec, manus-pi, EclipsSec.
SunEditor from 3.0.0 before 3.4.0 contains a stored cross-site scripting vulnerability in html.clean() that rebuilds iframes from data-se-iframe-holder-attrs JSON without filtering srcdoc or uppercase SRC keys. Attackers can inject crafted HTML through paste, html.set, or html.insert to execute script in the host page origin when victims load or paste the content.
Evidence
Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.
Remediation
Upgrade suneditor to 3.4.0 or later. Releases in the affected range (>= 3.0.0, < 3.4.0) are vulnerable. See the linked advisory for details on affected release lines.
Timeline
- 2026-11-08 CVE published
- 2026-11-11 Public record last updated
References
- VulnCheck advisoryhttps://www.vulncheck.com/advisories/suneditor-3.0.0-before-3.4.0-stored-xss-via-html-clean-iframe-placeholder
- Referencehttps://github.com/JiHong88/suneditor/security/advisories/GHSA-q867-q2hw-f8gp
- Releasehttps://github.com/JiHong88/suneditor/releases/tag/3.4.0
- Fix commithttps://github.com/JiHong88/suneditor/commit/57db24ac218cd10942fed0bb8288e9cb40b334bb
- CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-124422
- NVD recordhttps://nvd.nist.gov/vuln/detail/CVE-2026-124422
- Severity
- Medium 5.3CVSS 4.0, scored by VulnCheck in the CVE record
- Package
- suneditor
- Ecosystem
- npm
- Affected
- >= 3.0.0, < 3.4.0
- Fixed
- 3.4.0
- Weakness
- CWE-79
- CNA
- VulnCheck
- Credit
- Zachariah Mithanifinderkemrecfindermanus-pifinderEclipsSecfinder