Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. react-draft-wysiwyg
  4. ›
  5. CVE-2025-3191

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

April 4, 2025

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

References

  • gist.github.com/th4s1s/175ae4b2632096059b42377dd6c49d47
  • github.com/advisories/GHSA-fq5x-7292-2p5r
  • github.com/jpuri/react-draft-wysiwyg
  • nvd.nist.gov/vuln/detail/CVE-2025-3191
  • security.snyk.io/vuln/SNYK-JS-REACTDRAFTWYSIWYG-8515884

Code Behaviors & Features

Detect and mitigate CVE-2025-3191 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 1.15.0

Solution

Unfortunately, there is no solution available yet.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

npm/react-draft-wysiwyg/CVE-2025-3191.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:42 +0000.