Description
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.
Published: 2026-11-08
Score: 5.3 Medium
EPSS: n/a
KEV: No
Impact: Stored Cross‑Site Scripting
Action: Patch Now
AI Analysis

Impact

The SunEditor editor, versions 3.0.0 through 3.3.x, contains a stored cross‑site scripting flaw in the html.clean() routine. The vulnerability arises when the editor rebuilds iframe elements from a JSON blob of attributes without filtering the srcdoc value or uppercase SRC keys. An attacker can inject crafted HTML through paste, html.set, or html.insert, causing script execution in the host page when a victim later loads or pastes the content.

Affected Systems

Affected systems are all installations of SunEditor from version 3.0.0 up to, but not including, 3.4.0. The problem exists in the product released by the project maintainer jihong88.

Risk and Exploitability

The flaw has a CVSS score of 5.3, indicating moderate risk, and is not listed in the CISA KEV catalog. An EPSS score is not available, so the probability of exploitation cannot be quantified. The known attack surface relies on a user exposing malicious content to the editor; when another user loads the same content a script runs with the page's origin. While the vulnerability is limited to scenarios where the editor is used for content input, it remains a serious risk because it can compromise user data and session integrity. Prompt remediation is advised.

Generated by OpenCVE AI on November 8, 2026 at 02:51 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to SunEditor version 3.4.0 or later to remove the html.clean() bug.
  • If an upgrade cannot be performed immediately, disable or remove the html.clean() processing of iframe attributes, or configure the editor to reject or sanitize srcdoc and uppercase SRC values.
  • Implement additional server‑side validation and sanitization to strip dangerous iframe attributes before saving content.

Generated by OpenCVE AI on November 8, 2026 at 02:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 08 Nov 2026 04:45:00 +0000

Type Values Removed Values Added
First Time appeared Jihong88
Jihong88 suneditor
Vendors & Products Jihong88
Jihong88 suneditor

Sun, 08 Nov 2026 01:45:00 +0000

Type Values Removed Values Added
Description 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.
Title SunEditor 3.0.0 before 3.4.0 Stored XSS via html.clean() Iframe Placeholder
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N'}


Subscriptions

Jihong88 Suneditor
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-08T01:38:41.148Z

Reserved: 2026-11-08T00:57:59.205Z

Link: CVE-2026-124422

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-08T02:16:57.460

Modified: 2026-11-08T02:16:57.460

Link: CVE-2026-124422

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-08T04:30:14Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')