CVE-2021-31712

Medium

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.

SeverityMedium
CVSS5.4
Exploit probability—
ProductReact Draft Wysiwyg
PublishedApr 24, 2021
First seenApr 24, 2021

How to fix

Update
  • react_draft_wysiwyg_project react_draft_wysiwyg1.14.6 or later
  • react-draft-wysiwyg1.14.6 or later

Affected products

ProductAffected versionsFixed in
react_draft_wysiwyg_project react_draft_wysiwygv < 1.14.61.14.6
react-draft-wysiwygnpmv < 1.14.61.14.6

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.