GHSA-25fq-6qgg-qpj8MediumCVSS 5.4

SCEditor has DOM XSS via emoticon URL/HTML injection

Published
February 6, 2026
Last Modified
February 6, 2026

🔗 CVE IDs covered (1)

📋 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' } }
  }
});

🎯 Affected products1

  • npm/sceditor:<= 3.2.0

🔗 References (4)