CVE-2021-31712
MEDIUMCVSS 5.4/10EPSS 0.80%
Last modified
CVE-2021-31712 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. 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.. EPSS estimates a 0.80% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| React Draft Wysiwyg Project | React Draft Wysiwyg | < 1.14.6 |
References
- https://github.com/jpuri/react-draft-wysiwyg/commit/d2faeb612b53f10dff048de7dc57e1f4044b5380Patch, Third Party Advisory
- https://github.com/jpuri/react-draft-wysiwyg/issues/1102Exploit, Issue Tracking, Third Party Advisory
- https://github.com/jpuri/react-draft-wysiwyg/pull/1104Patch, Third Party Advisory
- https://github.com/jpuri/react-draft-wysiwyg/commit/d2faeb612b53f10dff048de7dc57e1f4044b5380Patch, Third Party Advisory
- https://github.com/jpuri/react-draft-wysiwyg/issues/1102Exploit, Issue Tracking, Third Party Advisory
- https://github.com/jpuri/react-draft-wysiwyg/pull/1104Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-31712?
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 severe is CVE-2021-31712?
CVE-2021-31712 has a CVSS score of 5.4/10 (MEDIUM severity). The EPSS model estimates a 0.80% probability of exploitation in the next 30 days.
How do I fix CVE-2021-31712?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
Are you affected by CVE-2021-31712?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
