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-07-08T05:59:46.617833576Z
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.

Database specific
{
    "unresolved_ranges": [
        {
            "cpes": [
                "cpe:2.3:a:react_draft_wysiwyg_project:react_draft_wysiwyg:*:*:*:*:*:node.js:*:*"
            ],
            "extracted_events": [
                {
                    "fixed": "1.14.6"
                }
            ],
            "vendor_product": "react_draft_wysiwyg_project:react_draft_wysiwyg",
            "source": "CPE_RANGE"
        },
        {
            "extracted_events": [
                {
                    "fixed": "1.14.6"
                }
            ],
            "source": "DESCRIPTION"
        }
    ]
}
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
Database specific
{
    "source": "REFERENCES"
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-31712.json"