~ / search / GHSA-qcg2-h349-vwm3

GHSA-qcg2-h349-vwm3

Cross-site Scripting in React Draft Wysiwyg

Source: GitHub Advisory Database (reviewed) Moderate CVE-2021-31712

Packages

EcosystemPackageAffectedFixed in
npm react-draft-wysiwyg < 1.14.6 1.14.6

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.