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.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-31698Quectel EG25-G devices through 202006130814 allow executing …9.8
- CVE-2021-31701Mintty before 3.4.7 mishandles Bracketed Paste Mode.7.5
- CVE-2021-31702Frontier ichris through 5.18 mishandles making a DNS request…7.5
- CVE-2021-31703Frontier ichris through 5.18 allows users to upload maliciou…9.8
- CVE-2021-31707Permissions vulnerability found in KiteCMS allows a remote a…9.8
- CVE-2021-31711Cross Site Scripting vulnerability found in Trippo Responsiv…5.4
- CVE-2021-31718The server in npupnp before 4.1.4 is affected by DNS rebindi…8.8
- CVE-2021-3172An issue in Php-Fusion v9.03.90 fixed in v9.10.00 allows aut…8.1
- CVE-2021-31721Chevereto before 3.17.1 allows Cross Site Scripting (XSS) vi…6.1
- CVE-2021-31726Akuvox C315 115.116.2613 allows remote command Injection via…9.8
- CVE-2021-31727Incorrect access control in zam64.sys, zam32.sys in MalwareF…7.8
- CVE-2021-31728Incorrect access control in zam64.sys, zam32.sys in MalwareF…7.8
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
