CVE-2026-25581
SCEditor has DOM XSS via emoticon URL/HTML injection
5.4
MEDIUM
CVSS 3.1
EPSS 0.01%
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: ```js sceditor.create(textarea, { emoticons: { dropdown: { ':)': { url: 'x" onerror="window.__xss = true' } } } }); ```
How to fix CVE-2026-25581
To remediate CVE-2026-25581, upgrade the affected package to a fixed version below.
- —upgrade to 3.2.1 or later
Is CVE-2026-25581 being exploited?
Low — EPSS is 0.0%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0, < 3.2.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |