Vulnerability Details : CVE-2021-31712
Potential exploit
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.
Vulnerability category: Cross site scripting (XSS)
Products affected by CVE-2021-31712
- cpe:2.3:a:react_draft_wysiwyg_project:react_draft_wysiwyg:*:*:*:*:*:node.js:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-31712
0.26%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 47 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-31712
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
3.5
|
LOW | AV:N/AC:M/Au:S/C:N/I:P/A:N |
6.8
|
2.9
|
NIST | |
5.4
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
2.3
|
2.7
|
NIST |
CWE ids for CVE-2021-31712
-
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-31712
-
https://github.com/jpuri/react-draft-wysiwyg/issues/1102
XSS via Link Target · Issue #1102 · jpuri/react-draft-wysiwyg · GitHubExploit;Issue Tracking;Third Party Advisory
-
https://github.com/jpuri/react-draft-wysiwyg/commit/d2faeb612b53f10dff048de7dc57e1f4044b5380
Releasing security update · jpuri/react-draft-wysiwyg@d2faeb6 · GitHubPatch;Third Party Advisory
-
https://github.com/jpuri/react-draft-wysiwyg/pull/1104
Fix XSS in Link Target by farisv · Pull Request #1104 · jpuri/react-draft-wysiwyg · GitHubPatch;Third Party Advisory
Jump to