{"id":"CVE-2026-25581","aliases":["GHSA-25fq-6qgg-qpj8"],"url":"https://o3.security/vulnerability/CVE-2026-25581","summary":"SCEditor affected by 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```","published":"2026-02-06T20:58:02.788Z","modified":"2026-08-12T03:51:27.198520816Z","cvss":{"score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"sceditor","fixedVersion":"3.2.1"}],"fix":{"url":"https://github.com/samclarke/SCEditor/commit/5733aed4f0e257cb78e1ba191715fc458cbd473d","label":"samclarke/SCEditor@5733aed"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25581.json"},{"type":"ADVISORY","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":"FIX","url":"https://github.com/samclarke/SCEditor/commit/5733aed4f0e257cb78e1ba191715fc458cbd473d"},{"type":"PACKAGE","url":"https://github.com/samclarke/SCEditor"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:27.198520816Z"}}