CVE-2026-124494

SunEditor before 3.4.0 Stored XSS via : Entity Sanitizer Bypass

Published Nov 8, 2026 CVSS 4.0 · 9.3 Critical EPSS < 1% KEV · Not listed
Description
SunEditor before 3.4.0 contains a stored cross-site scripting vulnerability because the html.clean() sanitizer's _normalizeURL() function decodes named entities like &colon; to an empty string. Attackers can inject href values such as javascript&colon; that pass the _isSafeURL() check but are decoded by browsers, executing JavaScript when victims click stored links.

Analysis

AI-generated

Technical impact

SunEditor versions before 3.4.0 contain a sanitizer flaw in the _normalizeURL() routine that decodes named entities such as &colon; into an empty string. This allows attackers to embed malicious href values like javascript&colon; that pass the internal _isSafeURL() check but are interpreted by browsers as standard javascript: URLs. The result is that any user who clicks the stored link will have arbitrary code executed in their browser context, enabling credential theft, session hijacking, defacement, or other client‑side attacks.

Affected Systems

All installations of SunEditor released prior to version 3.4.0, maintained by the vendor JiHong88, are affected. Any web application or content management system that incorporates these editor versions and allows end users to submit rich‑text content is potentially susceptible, regardless of the specific product or platform hosting it.

Risk and Exploitability

The CVSS score of 9.3 indicates a critical severity. Although EPSS data is unavailable, the high CVSS coupled with the lack of existing mitigation suggests a significant exploitation risk. The vulnerability is exploitable through a stored XSS attack vector; the attacker needs the ability to input content into the editor, which is a common capability in many web applications. Once the malicious link is stored, any subsequent user who clicks it will execute the injected JavaScript. The vulnerability is not currently listed in the CISA KEV catalog, but its critical nature mandates prompt action.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade SunEditor to version 3.4.0 or later, where the entity sanitization bug is corrected.
  • If an upgrade is not immediately available, implement a server‑side filter that rejects href attributes containing the scheme "javascript:" or any variant such as "javascript&colon;" before the content is stored.
  • Deploy a web application firewall rule or an XSS protection mechanism that blocks execution of JavaScript originating from user‑supplied href attributes.
  • Optionally, enable a strict Content Security Policy that disallows inline script execution from user‑generated content to provide an additional layer of defense.

Generated by OpenCVE AI on November 8, 2026 at 14:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Jihong88
Jihong88 suneditor
Vendors & Products Jihong88
Jihong88 suneditor
Type Values Removed Values Added
Description SunEditor before 3.4.0 contains a stored cross-site scripting vulnerability because the html.clean() sanitizer's _normalizeURL() function decodes named entities like &colon; to an empty string. Attackers can inject href values such as javascript&colon; that pass the _isSafeURL() check but are decoded by browsers, executing JavaScript when victims click stored links.
Title SunEditor before 3.4.0 Stored XSS via &colon; Entity Sanitizer Bypass
Weaknesses CWE-79
References
Metrics cvssV4_0

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

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 10, 2026, 5:53 PM
Reserved
Nov 8, 2026, 2:21 AM
Status
Awaiting Analysis
Published
Nov 8, 2026, 2:18 PM
Modified
Nov 12, 2026, 8:28 PM