CVE-2021-31712

Source
https://cve.org/CVERecord?id=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:07.490Z
Modified
2026-03-14T10:56:06.812266Z
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
Type
GIT
Repo
https://github.com/jpuri/react-draft-wysiwyg
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-31712.json"
unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "fixed": "1.14.6"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "fixed": "1.14.6"
            }
        ]
    }
]