Skip to main content
← Vulnerabilities

SunEditor before 3.4.0 Stored XSS via : Entity Sanitizer Bypass

SunEditor versions before 3.4.0 (npm package suneditor) in the default configuration (strictMode true, all filters enabled) are affected. Fixed in 3.4.0.

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

9.3CriticalCNA
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 (npm package suneditor) Default configuration (strictMode true, all filters enabled)

Published
Last modified
21/100 · provisional
Specific setups only
None on Exploit-DB, Metasploit or GitHub
On X
View the cve.now post

Summary

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.

cve.now Index

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

What would change the score

  • Would score about 71 if added to CISA KEV
  • Would score about 66 if CISA's SSVC rates exploitation active

What to do

  • Check whether your setup matches what the bug needs.

    SunEditor versions before 3.4.0 (npm package suneditor) Default configuration (strictMode true, all filters enabled)
  • Upgrade to a fixed version: 3.4.0.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. Posted on X 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-124494

Is CVE-2026-124494 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?

A javascript: link injected into stored HTML content gets past SunEditor's sanitizer, so arbitrary JavaScript can run in the browser session of the host application. This can lead to session cookie theft and account takeover.Source: vulncheck.com, github.com

Which versions are affected by CVE-2026-124494?

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

Am I affected, and how do I check?

The affected range is the suneditor npm package before 3.4.0, in the default configuration with strictMode true and all filters enabled. To check a setup, look at the suneditor version in package.json or the lockfile, and at the strictMode and filter settings in the editor configuration.Source: vulncheck.com, github.com

How do I fix CVE-2026-124494?

Upgrade the suneditor npm package to 3.4.0 or later, which is the fixed version.Source: vulncheck.com, github.com