CVE-2021-31712

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-31712
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-31712.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-31712
Aliases
Published
2021-04-24T21:15:07Z
Modified
2025-07-01T19:00:26Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

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

Affected packages

Git / github.com/jpuri/react-draft-wysiwyg

Affected ranges

Type
GIT
Repo
https://github.com/jpuri/react-draft-wysiwyg
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed