All CVEs / React Draft Wysiwyg Project
CVE-2021-31712React Draft Wysiwyg Project React Draft Wysiwyg
Medium 5.4
Follow: this CVE · React Draft Wysiwyg Project · React Draft Wysiwyg Project React Draft Wysiwyg We alert you by email or Slack (account required).
- Priority
- 32
- CVSS 3.1
- 5.4
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 53
- Auth required
- Yes
- Published
- Apr 24, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
What happens
react-draft-wysiwyg (aka React Draft Wysiwyg) before 1.14.6 allows a javascript: URi in a Link Target of the link decorator in decorators/Link/index.js when a draft is shared across users, leading to XSS.
What to do
- Apply the vendor's security update for React Draft Wysiwyg.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | react-draft-wysiwyg |
< 1.14.6 |
1.14.6 |
npm install react-draft-wysiwyg@1.14.6 |
Per OSV / GitHub Advisories (GHSA-qcg2-h349-vwm3). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| react_draft_wysiwyg_project | react_draft_wysiwyg | < 1.14.6 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Exploit Issue Tracking Third Party Advisory
- github.com Patch Third Party Advisory