Vulnerability library
Security checkSeptember 11, 2023

Cross-site Scripting in React Draft Wysiwyg

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpmreact-draft-wysiwyg

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

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 scan

Related Issues

See something that needs correcting? Let us knowUpdated September 11, 2023