GHSA-QCG2-H349-VWM3
Vulnerability from github – Published: 2021-05-06 15:52 – Updated: 2023-09-11 22:34
VLAI?
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.
Severity ?
5.4 (Medium)
{
"affected": [
{
"package": {
"ecosystem": "npm",
"name": "react-draft-wysiwyg"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.14.6"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2021-31712"
],
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"github_reviewed": true,
"github_reviewed_at": "2021-04-26T18:46:48Z",
"nvd_published_at": "2021-04-24T21:15:00Z",
"severity": "MODERATE"
},
"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.",
"id": "GHSA-qcg2-h349-vwm3",
"modified": "2023-09-11T22:34:30Z",
"published": "2021-05-06T15:52:35Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-31712"
},
{
"type": "WEB",
"url": "https://github.com/jpuri/react-draft-wysiwyg/issues/1102"
},
{
"type": "WEB",
"url": "https://github.com/jpuri/react-draft-wysiwyg/pull/1104"
},
{
"type": "WEB",
"url": "https://github.com/jpuri/react-draft-wysiwyg/commit/d2faeb612b53f10dff048de7dc57e1f4044b5380"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
"type": "CVSS_V3"
}
],
"summary": "Cross-site Scripting in React Draft Wysiwyg"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…