Vulnerability · Published Apr 24, 2021 · Assigned by mitre

CVE-2021-31712

Medium 5.4

In plain English

A medium-severity security flaw in the react-draft-wysiwyg package (npm). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 57% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)5.4Medium
Exploit odds (30 days)0.8%top 43.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmreact-draft-wysiwyg1.14.6GHSA-qcg2-h349-vwm3

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References