# CVE-2026-25581: SCEditor affected by DOM XSS via emoticon URL/HTML injection

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 17% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-02-06T18:34:30.000Z
- Modified: 2026-06-17T10:24:53.773Z
- Also known as: GHSA-25fq-6qgg-qpj8
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- samclarke SCEditor: < 3.2.1
- sceditor (npm): before 3.2.1
- sceditor sceditor: before 3.2.1

## Every score

- GitHub_M: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/samclarke/SCEditor/security/advisories/GHSA-25fq-6qgg-qpj8> (exploit, vendor-advisory, web)
- <https://github.com/samclarke/SCEditor/commit/5733aed4f0e257cb78e1ba191715fc458cbd473d> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-25581> (advisory)
- <https://github.com/samclarke/SCEditor> (package)

## Sources

- CVE List: [CVE-2026-25581](https://www.cve.org/CVERecord?id=CVE-2026-25581), CVE Terms of Use, modified 2026-02-09
- GitHub Advisory Database: [GHSA-25fq-6qgg-qpj8](https://github.com/advisories/GHSA-25fq-6qgg-qpj8), CC-BY-4.0, modified 2026-02-06
- NVD: [CVE-2026-25581](https://nvd.nist.gov/vuln/detail/CVE-2026-25581), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-25581 · Whole record: https://cve.day/CVE-2026-25581.json · Rebuilt by cve.day 2026-11-25T22:59:13.576Z
