Medium, CVSS 5.4npmAmendedPublished
Cross-site Scripting in React Draft Wysiwyg
CVE-2021-31712 · GHSA-qcg2-h349-vwm3
- Affected
- npm react-draft-wysiwyg < 1.14.6
- Fixed in
- 1.14.6· Vendor fix available
- Issue
- 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.
Recommended action: Upgrade to 1.14.6 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.