SCEditor has DOM XSS via emoticon URL/HTML injection
基本資訊
- GHSA ID: GHSA-25fq-6qgg-qpj8
- CVE ID: CVE-2026-25581
- 嚴重性: MEDIUM
- 發布時間: 2026-02-06T18:34:30Z
- 來源: GitHub Advisory
漏洞描述
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' } }
}
});
影響範圍
- npm:sceditor (<= 3.2.0) → 3.2.1
CVSS 評分
- CVSS v3: 5.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N)
CWE 分類
- CWE-79: Improper Neutralization of Input During Web Page Generation (‘Cross-site Scripting’)
EPSS 評分
- EPSS: N/A
萃取備註
- 資料來源: GitHub Security Advisories Database
- 信心水準: 高(官方漏洞資料庫)
- 處理時間: 2026-02-08T07:47:56.578116