GHSA-qcg2-h349-vwm3

Suggest an improvement
Source
https://github.com/advisories/GHSA-qcg2-h349-vwm3
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-qcg2-h349-vwm3/GHSA-qcg2-h349-vwm3.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-qcg2-h349-vwm3
Aliases
Published
2021-05-06T15:52:35Z
Modified
2023-11-08T04:05:50.480506Z
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
Cross-site Scripting in React Draft Wysiwyg
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
{
    "github_reviewed_at": "2021-04-26T18:46:48Z",
    "cwe_ids": [
        "CWE-79"
    ],
    "nvd_published_at": "2021-04-24T21:15:00Z",
    "severity": "MODERATE",
    "github_reviewed": true
}
References

Affected packages

npm / react-draft-wysiwyg

Package

Name
react-draft-wysiwyg
View open source insights on deps.dev
Purl
pkg:npm/react-draft-wysiwyg

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.14.6