NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2026-25581: SCEditor has DOM XSS via emoticon URL/HTML injection

mediumCVSS 3.1 5.4GHSA-25fq-6qgg-qpj8

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:

Published Feb 6, 2026

Affected packages

sceditor

Ecosystem
npm
Affected
<= 3.2.0
Fixed in
3.2.1
Check
npm ls sceditor

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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

Credited to sofianeelhor.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology