All reports
Medium

SCEditor has DOM XSS via emoticon URL/HTML injection

Affected versions

Affected versions
<= 3.2.0
Fixed version
3.2.1

Exploitation

CVE-2026-25581

Probability of exploitation in the next 30 days: 0.25%

FIRST EPSS · 2026-11-22

Description

If an attacker has the ability control configuration options passed to sceditor.create(), like emoticons, charset, etc. then it's possible for them to trigger an XSS attack due to lack of sanitisation of configuration options.

Proof of concept:

sceditor.create(textarea, {
  emoticons: {
    dropdown: { ':)': { url: 'x" onerror="window.__xss = true' } }
  }
});

Links

Credits

  • sofianeelhor