Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessInject href with javascript: entity
-
DeliveryBypass html.clean() _normalizeURL sanitizer check
-
ExploitPayload stored in host application
-
ExecutionVictim clicks stored link
-
ImpactBrowser decodes colon and executes JavaScript, stealing session
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the host application rely on SunEditor's client-side html.clean() sanitizer (default configuration, strictMode:true) as its trust boundary for user-supplied HTML, that the attacker can submit content containing an anchor href using the |
| Impact | This is a genuinely high-priority issue, and the signals mostly agree. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:A) describes a network-reachable, low-complexity stored XSS that requires only that a victim later click a malicious link - the one meaningful brake is that user interaction (UI:A). The vuln.today decision label is 'act_now' and a vendor patch is available (fixed in 3.4.0), which together argue for prompt remediation rather than deferral. The root cause is well understood from the GitHub Security Advisory source-code evidence: |
| Exploit ScenarioDerived | An attacker submits rich-text content (e.g., a comment, profile field, or message) containing a link whose href is |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 08, 2026
Stored cross-site scripting in SunEditor through 3.3.1 allows an attacker to bypass the html.clean() URL sanitizer by encoding the colon in a javascript: link as the HTML named entity :, so a stored href that passes _isSafeURL() is decoded by the browser into executable JavaScript when a victim clicks it. The issue affects the default strictMode:true configuration and applications that treat SunEditor's client-side sanitizer as the trust boundary for user-supplied HTML. The GitHub advisory includes a public proof-of-concept/reproducer that is not confirmed as working exploit code, active exploitation is not confirmed in the supplied intelligence, and the vendor fix is version 3.4.0; the priority label is act_now and the supplied CVSS 4.0 score is 9.3.
RemediationAI
Upgrade to SunEditor 3.4.0 or later; this is the vendor-released patch and the npm package fix version is 3.4.0. If upgrading immediately is not possible, do not treat SunEditor's client-side html.clean() as the sole trust boundary: sanitize and validate user-supplied HTML server-side with an allowlist that resolves named entities before URL checks, and enforce a Content-Security-Policy that blocks javascript: navigation and inline script, noting that these controls require application changes and CSP compatibility testing. Because stored content may already contain javascript: hrefs, re-sanitize or remove such links from existing rich-text records. Consult the GitHub advisory at https://github.com/JiHong88/suneditor/security/advisories/GHSA-v4jx-8pj6-w4w8 and the VulnCheck advisory for the vendor's guidance; the supplied priority label is act_now.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
SunEditor is a vanilla JavaScript WYSIWYG editor; its html.clean() sanitizer is intended to remove dangerous markup from user-supplied rich text. In src/core/logic/dom/html.js, _normalizeURL() decodes entities before _isSafeURL() checks the URL, but its regex replacement returns an empty string for named entities while handling numeric entities correctly. Consequently, 'javascript:alert(1)' is normalized to 'javascriptalert(1)', which has no colon and passes the safe-URL test, whereas the browser later decodes : to ':' and produces a javascript: URL. This is CWE-79 (improper neutralization of input during web page generation), and the href attribute is in the default whitelist, so the bypass works under strictMode:true. The affected package family is identified by CPE cpe:2.3:a:jihong88:suneditor:*:*:*:*:*:*:*:*; EUVD lists versions 0 through <3.4.0, with the npm package reported vulnerable through 3.3.1. Numeric-entity payloads such as javascript: are correctly blocked, so the named-entity form is the specific bypass path. Exploitation requires that stored content be rendered to another user and that the victim click the crafted link; the supplied CVSS vector has PR:N (no privileges required) but UI:A (victim interaction required).
Know when Suneditor gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network-delivered stored XSS needing no attacker privileges but a victim click (UI:R); code runs in the victim's browser context (S:C) enabling session theft and account actions, so C:H/I:H, A:N.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
SunEditor before 3.4.0 contains a stored cross-site scripting vulnerability because the html.clean() sanitizer's _normalizeURL() function decodes named entities like : to an empty string. Attackers can inject href values such as javascript: that pass the _isSafeURL() check but are decoded by browsers, executing JavaScript when victims click stored links.
Technical POC Analysis
Stored XSS in suneditor (CWE-79, Improper Neutralization of Input During Web Page Generation).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
The widely used SunEditor rich-text component contains a critical stored cross-site scripting flaw (CVE-2026-124494) that allows malicious JavaScript to be embedded in user content and executed when victims interact with it. Because this affects the default configuration and applications relying on SunEditor's client-side sanitizer, any organization using SunEditor version 3.3.1 or earlier to handle user-generated HTML is exposed to session hijacking and data theft, posing direct risk to customer and employee accounts.
Apply vendor patch. Until patched, restrict use of SunEditor to trusted authors, enforce additional server-side HTML sanitization (e.g., allow-list based), and deploy WAF rules to block encoded javascript: URLs in stored content.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Stored cross-site scripting in SunEditor prior to 2.47.11 allows an attacker-supplied editor payload to survive the libr
Stored cross-site scripting in SunEditor before 3.4.0 lets an attacker who can persist content inside an h1-h6 header ru
Stored cross-site scripting in SunEditor (npm `suneditor`) through 3.3.1 lets a low-privilege author plant an HTML-encod
Stored cross-site scripting in the SunEditor WYSIWYG library (versions 3.0.0 up to, but not including, 3.4.0) allows cra
Stored cross-site scripting in SunEditor's FileUpload plugin lets an authenticated user who can upload files inject HTML
Stored cross-site scripting in the SunEditor WYSIWYG editor's codeBlock plugin (versions 3.0.0 through 3.4.2) lets an at
EUVD-2026-119549
GHSA-cm78-x5pp-rjx2
NVD
CVE.org
EPSS
Exploit-DB