Skip to content

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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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