Skip to main content
← Vulnerabilities

SunEditor before 3.4.0 Stored XSS via Link Modal Bookmark List

SunEditor versions before 3.4.0 are affected in the default configuration, with no special options needed. Fixed in 3.4.0.

Written by anthropic/claude-haiku-5.5 from the sources below. Verify against them.

8.3HighCNA
Exploited
No known exploitation
Fix
Fixed in 3.4.0
Who is exposed
Specific setups only

Do first: Check whether your setup matches what the bug needs. SunEditor versions before 3.4.0 are affected Default configuration; no special options needed A victim must open the link modal and type # in the URL input

Published
Last modified
16/100 · provisional
Specific setups only
None on Exploit-DB, Metasploit or GitHub

Summary

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.

cve.now Index

16Pcve.now Index 16 of 100 · methodology v3 · provisional
  • Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
  • Exposure8/25Specific setups only, reachable over the network
  • Reach?/20Unknown. No tracked technology or package matched
  • Severity8.3/10CVSS 8.3
  • No patch0/5No signal

What would change the score

  • Would score about 66 if added to CISA KEV
  • Would score about 61 if CISA's SSVC rates exploitation active
  • Would score about 23 if CISA's SSVC rates it automatable

What to do

  • Check whether your setup matches what the bug needs.

    SunEditor versions before 3.4.0 are affected Default configuration; no special options needed A victim must open the link modal and type # in the URL input
  • Upgrade to a fixed version: 3.4.0.

Timeline

  1. CVE published
  2. First seen by cve.now

Affected versions

  • JiHong88 suneditor

    fixed in 3.4.0

Evidence 2

  1. Advisory
  2. Link

Corrections

None so far.

Something wrong on this page? Report an error. Every fix is listed here.

Questions about CVE-2026-124492

Is CVE-2026-124492 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.Source: cve.now feed data

What does this mean?

SunEditor stores attacker-supplied JavaScript that runs in the browser of a user who opens the link modal and types # in the URL input. That script can steal session cookies and perform actions as the victim.Source: vulncheck.com, github.com

Which versions are affected by CVE-2026-124492?

suneditor: before 3.4.0.Source: cve.now feed data

Am I affected, and how do I check?

SunEditor versions before 3.4.0 are affected, and the default configuration is included, with no special options needed. To check, look at the SunEditor version in the project's package.json or installed dependency list.Source: vulncheck.com, github.com

How do I fix CVE-2026-124492?

Upgrade SunEditor to 3.4.0 or later, which is the fixed version. The facts list no workaround.Source: vulncheck.com, github.com