cve.bz

CVE-2021-31712

5.4 mediumEPSS 0.8%

Medium (5.4) in react draft wysiwyg project react draft wysiwyg. EPSS 0.8% chance of exploitation in the next 30 days. Fixed in react-draft-wysiwyg 1.14.6.

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.

Severity

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
EPSS
0.8% chance of exploitation in the next 30 days; higher than 56% of CVEs (scores of 2026-10-31)
CWE
CWE-79
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-qcg2-h349-vwm3npmreact-draft-wysiwyg<1.14.61.14.6

References

Check your stackJSON