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.
Recommendation
Update the react-draft-wysiwyg package to the latest compatible version. Followings are version details:
- Affected version(s): < 1.14.6
- Patched version(s): 1.14.6
References
Could your website be exposed too?
SmartScanner can check your website for Cross-site Scripting in React Draft Wysiwyg and gives you actionable findings to investigate.
Start a free scanRelated Issues
- React Draft Wysiwyg Cross-Site Scripting (XSS) via the Embedded Button - CVE-2025-3191
- Cross-site scripting in react-bootstrap-table - CVE-2021-23398
- Baremetrics date range picker vulnerable to Cross-site Scripting - CVE-2021-32859
- iziModal Cross-site Scripting vulnerability - CVE-2021-32860


