Medium severity5.4NVD Advisory· Published Apr 24, 2021· Updated Jun 17, 2026
CVE-2021-31712
CVE-2021-31712
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
react-draft-wysiwygnpm | < 1.14.6 | 1.14.6 |
Affected products
3- react-draft-wysiwyg/React Draft Wysiwygdescription
- cpe:2.3:a:react_draft_wysiwyg_project:react_draft_wysiwyg:*:*:*:*:*:node.js:*:*Range: <1.14.6
Patches
Vulnerability mechanics
References
5- github.com/jpuri/react-draft-wysiwyg/commit/d2faeb612b53f10dff048de7dc57e1f4044b5380nvdPatchThird Party AdvisoryWEB
- github.com/jpuri/react-draft-wysiwyg/pull/1104nvdPatchThird Party AdvisoryWEB
- github.com/jpuri/react-draft-wysiwyg/issues/1102nvdExploitIssue TrackingThird Party AdvisoryWEB
- github.com/advisories/GHSA-qcg2-h349-vwm3ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-31712ghsaADVISORY
News mentions
0No linked articles in our index yet.