{"schema_version":"1.9.0","id":"GHSA-25fq-6qgg-qpj8","published":"2026-02-06T18:34:30Z","modified":"2026-02-06T22:22:53.782187Z","aliases":["CVE-2026-25581"],"summary":"SCEditor has DOM XSS via emoticon URL/HTML injection","details":"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```","affected":[{"package":{"name":"sceditor","ecosystem":"npm","purl":"pkg:npm/sceditor"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.2.1"}]}],"database_specific":{"last_known_affected_version_range":"<= 3.2.0","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-25fq-6qgg-qpj8/GHSA-25fq-6qgg-qpj8.json"}}],"references":[{"type":"WEB","url":"https://github.com/samclarke/SCEditor/security/advisories/GHSA-25fq-6qgg-qpj8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25581"},{"type":"WEB","url":"https://github.com/samclarke/SCEditor/commit/5733aed4f0e257cb78e1ba191715fc458cbd473d"},{"type":"PACKAGE","url":"https://github.com/samclarke/SCEditor"}],"database_specific":{"cwe_ids":["CWE-79"],"github_reviewed":true,"github_reviewed_at":"2026-02-06T18:34:30Z","nvd_published_at":"2026-02-06T21:16:17Z","severity":"MODERATE"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"}]}