CVE-2026-124492

SunEditor before 3.4.0 Stored XSS via Link Modal Bookmark List

Published Nov 8, 2026 CVSS 4.0 · 8.3 High EPSS < 1% KEV · Not listed
Description
SunEditor before 3.4.0 contains a stored cross-site scripting vulnerability in ModalAnchorEditor's #createBookmarkList, which inserts entity-decoded h1-h6 header textContent into the bookmark list via innerHTML without escaping. Attackers can store HTML-encoded payloads in editor headers that execute JavaScript when a victim opens the link modal and types # in the URL input.

Analysis

AI-generated

Technical impact

SunEditor versions prior to 3.4.0 contain a stored cross‑site scripting flaw in the modal that builds a bookmark list. The flaw injects entity‑decoded header text directly into a bookmark list via innerHTML without escaping, allowing attackers to embed malicious JavaScript into the editor headers. When a user opens the link modal and types a hash symbol (#) in the URL field, the stored payload executes in the victim’s browser, potentially compromising session state, injecting malware, or carrying out phishing attacks.

Affected Systems

The vulnerability affects all releases of SunEditor before 3.4.0 deployed on any platform that uses the Editable Anchor Modal component. The issue exists in all vendor implementations that ship the editor unchanged, as noted by the vendor JiHong88. Users of older SunEditor versions without the patch should consider their installations exposed.

Risk and Exploitability

The CVSS base score of 8.3 reflects a high‑confidence, high‑impact client‑side flaw. No EPSS score is publicly available, and the issue is not listed in the CISA KEV catalog, indicating it has not yet been widely exploited. The likely attack vector is inferred to require that an attacker gains the ability to add or edit article headers in the editor; once a malicious payload is stored, any subsequent opening of the link modal by a user will trigger the code. The risk to user data and application integrity is significant, as the stored script runs with the user’s privileges in the browser.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade SunEditor to version 3.4.0 or later, which removes the unescaped bookmark list rendering
  • If upgrading immediately is not possible, sanitize or remove stored header content before it is rendered by the editor
  • Limit editor access to trusted users or disable the link modal feature for untrusted accounts to reduce the likelihood of stored payload execution

Generated by OpenCVE AI on November 8, 2026 at 14:36 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': 'poc', 'Technical Impact': 'partial'}, '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 in ModalAnchorEditor's #createBookmarkList, which inserts entity-decoded h1-h6 header textContent into the bookmark list via innerHTML without escaping. Attackers can store HTML-encoded payloads in editor headers that execute JavaScript when a victim opens the link modal and types # in the URL input.
Title SunEditor before 3.4.0 Stored XSS via Link Modal Bookmark List
Weaknesses CWE-79
References
Metrics cvssV3_1

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

cvssV4_0

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

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 13, 2026, 3:32 AM
Reserved
Nov 8, 2026, 2:21 AM
Status
Deferred
Published
Nov 8, 2026, 2:18 PM
Modified
Nov 13, 2026, 4:17 AM