CVEvulnerability
CVE-2021-31712
5.4 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2021-04-24
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.4 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- CVSS 2.0 ([email protected])
- 3.5 LOW — AV:N/AC:M/Au:S/C:N/I:P/A:N
- Weaknesses
- CWE-79
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.
Affected configurations
• react draft wysiwyg project react draft wysiwyg (< 1.14.6)
Related
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://github.com/jpuri/react-draft-wysiwyg/commit/d2faeb612b53f10dff048de7dc57e1f4044b5380 Patch, Third Party Advisory
- https://github.com/jpuri/react-draft-wysiwyg/issues/1102 Exploit, Issue Tracking, Third Party Advisory
- https://github.com/jpuri/react-draft-wysiwyg/pull/1104 Patch, Third Party Advisory
- https://github.com/jpuri/react-draft-wysiwyg/commit/d2faeb612b53f10dff048de7dc57e1f4044b5380 Patch, Third Party Advisory
- https://github.com/jpuri/react-draft-wysiwyg/issues/1102 Exploit, Issue Tracking, Third Party Advisory
- https://github.com/jpuri/react-draft-wysiwyg/pull/1104 Patch, Third Party Advisory