{"id":"CVE-2026-25581","aliases":["EUVD-2026-5575","GHSA-25fq-6qgg-qpj8"],"status":"published","title":"SCEditor affected by DOM XSS via emoticon URL/HTML injection","description":"SCEditor is a lightweight WYSIWYG BBCode and XHTML editor. Prior to 3.2.1, 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. This vulnerability is fixed in 3.2.1.","severity":{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00245,"percentile":0.15882,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2026-02-06T18:34:30Z","modified":"2026-10-28T02:31:13Z","fixes":[{"ecosystem":"npm","package":"sceditor","fixed_in":["3.2.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"sceditor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"3.2.0"},{"fixed":"3.2.1"}]}]},{"source":"osv","ecosystem":"npm","package":"sceditor","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.2.1"}]}]}],"products":[{"vendor":"samclarke","product":"sceditor"},{"vendor":"sceditor","product":"sceditor"}],"references":[{"url":"https://github.com/samclarke/SCEditor/security/advisories/GHSA-25fq-6qgg-qpj8","tags":["x_refsource_CONFIRM","Exploit","Vendor Advisory","advisory","web"]},{"url":"https://github.com/samclarke/SCEditor/commit/5733aed4f0e257cb78e1ba191715fc458cbd473d","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25581","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-25fq-6qgg-qpj8"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25581.json","tags":["advisory"]},{"url":"https://github.com/samclarke/SCEditor","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2026-25581","title":"SCEditor affected by DOM XSS via emoticon URL/HTML injection","description":"SCEditor is a lightweight WYSIWYG BBCode and XHTML editor. Prior to 3.2.1, 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. This vulnerability is fixed in 3.2.1.","status":"published","published":"2026-02-06T20:58:02.788Z","modified":"2026-02-09T15:27:43.193Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T13:41:19.694734Z"}],"euvd":[{"id":"EUVD-2026-5575","description":"SCEditor is a lightweight WYSIWYG BBCode and XHTML editor. Prior to 3.2.1, 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. This vulnerability is fixed in 3.2.1.","status":"published","published":"2026-02-06T20:58:02Z","modified":"2026-02-09T15:27:43Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T19:48:42.465921Z"}],"ghsa":[{"id":"GHSA-25fq-6qgg-qpj8","title":"SCEditor has DOM XSS via emoticon URL/HTML injection","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.\n\nProof of concept:\n\n```js\nsceditor.create(textarea, {\n  emoticons: {\n    dropdown: { ':)': { url: 'x\" onerror=\"window.__xss = true' } }\n  }\n});\n```","status":"published","published":"2026-02-06T18:34:30Z","modified":"2026-02-06T21:43:39Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:39:23.728882Z"}],"nvd":[{"id":"CVE-2026-25581","description":"SCEditor is a lightweight WYSIWYG BBCode and XHTML editor. Prior to 3.2.1, 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. This vulnerability is fixed in 3.2.1.","status":"published","published":"2026-02-06T21:16:17.307Z","modified":"2026-06-17T10:24:53.773Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:12:05.52517Z"}],"osv":[{"id":"CVE-2026-25581","title":"SCEditor affected by DOM XSS via emoticon URL/HTML injection","description":"SCEditor is a lightweight WYSIWYG BBCode and XHTML editor. Prior to 3.2.1, 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. This vulnerability is fixed in 3.2.1.","status":"published","published":"2026-02-06T20:58:02.788Z","modified":"2026-10-28T02:31:13.896660533Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:44:59.438965Z"},{"id":"GHSA-25fq-6qgg-qpj8","title":"SCEditor has DOM XSS via emoticon URL/HTML injection","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.\n\nProof of concept:\n\n```js\nsceditor.create(textarea, {\n  emoticons: {\n    dropdown: { ':)': { url: 'x\" onerror=\"window.__xss = true' } }\n  }\n});\n```","status":"published","published":"2026-02-06T18:34:30Z","modified":"2026-02-06T22:22:53.782187Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:33.956911Z"}]}}
