XSS in React Draft Wysiwyg Project
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.
Vulnerability class: XSS (Cross-Site Scripting)
EPSS: 0.008 (52.6th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.
Affected products
- React_draft_wysiwyg_project React_draft_wysiwyg
- N/a — versions n/a
Weakness classification (CWE)
References
- cve@mitre.org (Exploit, Third Party Advisory, x_refsource_MISC, Issue Tracking)
- cve@mitre.org (Patch, Third Party Advisory, x_refsource_MISC)
- cve@mitre.org (x_refsource_CONFIRM, Patch, Third Party Advisory)
Frequently asked questions
- What is CVE-2021-31712?
- CVE-2021-31712 is a medium-severity vulnerability in React Draft Wysiwyg Project, classified under Cross-site Scripting. CVSS score: 5.4/10. Published 2021-04-24.
- How severe is CVE-2021-31712?
- Medium severity. CVSS v3 base score is 5.4 out of 10.