# CVE-2025-3191: React Draft Wysiwyg Cross-Site Scripting (XSS) via the Embedded Button

- Severity: Medium 5.1 (CVSS:4.0, scored by snyk) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N/E:P`
- 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.30%, higher than 25% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-04-04T05:00:11.024Z
- Modified: 2026-06-17T09:19:23.530Z
- Also known as: GHSA-fq5x-7292-2p5r
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: snyk

## Description

All versions of the package react-draft-wysiwyg are vulnerable to Cross-site Scripting (XSS) via the Embedded button which will then result in saving the payload in the <iframe> tag.

(As written by CVE List.)

## Affected

- react-draft-wysiwyg: before *
- react-draft-wysiwyg (npm): up to 1.15.0

## Every score

- snyk: CVSS:4.0 5.1 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N/E:P`
- snyk: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:P`
- GitHub: CVSS:3.1 6.1 Low `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Low `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X`

## References

- <https://gist.github.com/th4s1s/175ae4b2632096059b42377dd6c49d47> (exploit, web)
- <https://security.snyk.io/vuln/SNYK-JS-REACTDRAFTWYSIWYG-8515884> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-3191> (advisory)
- <https://github.com/jpuri/react-draft-wysiwyg> (package)

## Sources

- CVE List: [CVE-2025-3191](https://www.cve.org/CVERecord?id=CVE-2025-3191), CVE Terms of Use, modified 2025-04-04
- GitHub Advisory Database: [GHSA-fq5x-7292-2p5r](https://github.com/advisories/GHSA-fq5x-7292-2p5r), CC-BY-4.0, modified 2025-04-04
- NVD: [CVE-2025-3191](https://nvd.nist.gov/vuln/detail/CVE-2025-3191), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-3191 · Whole record: https://cve.day/CVE-2025-3191.json · Rebuilt by cve.day 2026-11-25T22:58:56.037Z
