Live threats

All CVEs / React Draft Wysiwyg Project

CVE-2021-31712React Draft Wysiwyg Project React Draft Wysiwyg

Medium 5.4

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for React Draft Wysiwyg.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
react_draft_wysiwyg_projectreact_draft_wysiwyg< 1.14.6

Official sources

References

Links published by the sources. Open them with care.