{ "id": "CVE-2021-31712", "sourceIdentifier": "cve@mitre.org", "published": "2021-04-24T21:15:07.490", "lastModified": "2021-09-09T12:42:55.370", "vulnStatus": "Analyzed", "descriptions": [ { "lang": "en", "value": "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." }, { "lang": "es", "value": "react-draft-wysiwyg (tambi\u00e9n se conoce como React Draft Wysiwyg) versiones anteriores a 1.14.6, permite un URI javascript: en un Link Target del decorador de enlaces en el archivo decorators/Link/index.js cuando un borrador se comparte entre usuarios, conllevando a un ataque de tipo XSS" } ], "metrics": { "cvssMetricV31": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE", "baseScore": 5.4, "baseSeverity": "MEDIUM" }, "exploitabilityScore": 2.3, "impactScore": 2.7 } ], "cvssMetricV2": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "2.0", "vectorString": "AV:N/AC:M/Au:S/C:N/I:P/A:N", "accessVector": "NETWORK", "accessComplexity": "MEDIUM", "authentication": "SINGLE", "confidentialityImpact": "NONE", "integrityImpact": "PARTIAL", "availabilityImpact": "NONE", "baseScore": 3.5 }, "baseSeverity": "LOW", "exploitabilityScore": 6.8, "impactScore": 2.9, "acInsufInfo": false, "obtainAllPrivilege": false, "obtainUserPrivilege": false, "obtainOtherPrivilege": false, "userInteractionRequired": true } ] }, "weaknesses": [ { "source": "nvd@nist.gov", "type": "Primary", "description": [ { "lang": "en", "value": "CWE-79" } ] } ], "configurations": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:react_draft_wysiwyg_project:react_draft_wysiwyg:*:*:*:*:*:node.js:*:*", "versionEndExcluding": "1.14.6", "matchCriteriaId": "31727DCF-77FB-4F82-A462-7C0674054D4E" } ] } ] } ], "references": [ { "url": "https://github.com/jpuri/react-draft-wysiwyg/commit/d2faeb612b53f10dff048de7dc57e1f4044b5380", "source": "cve@mitre.org", "tags": [ "Patch", "Third Party Advisory" ] }, { "url": "https://github.com/jpuri/react-draft-wysiwyg/issues/1102", "source": "cve@mitre.org", "tags": [ "Exploit", "Issue Tracking", "Third Party Advisory" ] }, { "url": "https://github.com/jpuri/react-draft-wysiwyg/pull/1104", "source": "cve@mitre.org", "tags": [ "Patch", "Third Party Advisory" ] } ] }