CVE-2021-31712 Cross-site Scripting in React Draft Wysiwyg
MediumCVSS 5.4
EPSS 0.79%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm react-draft-wysiwyg(npm) | < 1.14.6 | 1.14.6 | Fixed |
| react draft wysiwyg project react draft wysiwyg | < 1.14.6 | 1.14.6 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm react-draft-wysiwyg(npm) | < 1.14.6 | 1.14.6 |
| react draft wysiwyg project react draft wysiwyg | < 1.14.6 | 1.14.6 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com exploit issue-tracking third-party-advisory
- github.com patch third-party-advisory
- github.com patch third-party-advisory
- github.com