CVE-2021-31712
Cross-site Scripting in React Draft Wysiwyg
5.4
MEDIUM
CVSS 3.1
EPSS 0.26%
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.
How to fix CVE-2021-31712
To remediate CVE-2021-31712, upgrade the affected package to a fixed version below.
- npm/react-draft-wysiwyg—upgrade to 1.14.6 or later
Is CVE-2021-31712 being exploited?
Low — EPSS is 0.3%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0, < 1.14.6
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |