sceditor
Affected
- introduced
0, fixed3.2.1(semver)
Fixed versions
3.2.1
Fix
- Fixed version
3.2.1npm install [email protected]
Advisory
Also known as: CVE-2026-25581
SCEditor has DOM XSS via emoticon URL/HTML injection
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' } }
}
});Medium Basis: The source's own band: MODERATE
0, fixed 3.2.1 (semver)3.2.1
3.2.1npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0