{"id":"CVE-2021-31712","state":"PUBLISHED","title":"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 acros","description":"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.","publishedAt":"2021-04-24T20:56:59.000Z","updatedAt":"2024-08-03T23:03:33.794Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://github.com/jpuri/react-draft-wysiwyg/issues/1102","https://github.com/jpuri/react-draft-wysiwyg/pull/1104","https://github.com/jpuri/react-draft-wysiwyg/commit/d2faeb612b53f10dff048de7dc57e1f4044b5380"],"weaknesses":[],"ingestedAt":"2026-10-29T19:48:30.098Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/31xxx/CVE-2021-31712.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-31712","state":"PUBLISHED","datePublished":"2021-04-24T20:56:59.000Z","dateUpdated":"2024-08-03T23:03:33.794Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2021-04-23T00:00:00.000Z"},"containers":{"cna":{"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://github.com/jpuri/react-draft-wysiwyg/issues/1102","tags":["x_refsource_MISC"]},{"url":"https://github.com/jpuri/react-draft-wysiwyg/pull/1104","tags":["x_refsource_MISC"]},{"url":"https://github.com/jpuri/react-draft-wysiwyg/commit/d2faeb612b53f10dff048de7dc57e1f4044b5380","tags":["x_refsource_CONFIRM"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2021-04-24T20:56:59.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2021-31712","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://github.com/jpuri/react-draft-wysiwyg/issues/1102","refsource":"MISC","url":"https://github.com/jpuri/react-draft-wysiwyg/issues/1102"},{"name":"https://github.com/jpuri/react-draft-wysiwyg/pull/1104","refsource":"MISC","url":"https://github.com/jpuri/react-draft-wysiwyg/pull/1104"},{"name":"https://github.com/jpuri/react-draft-wysiwyg/commit/d2faeb612b53f10dff048de7dc57e1f4044b5380","refsource":"CONFIRM","url":"https://github.com/jpuri/react-draft-wysiwyg/commit/d2faeb612b53f10dff048de7dc57e1f4044b5380"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/jpuri/react-draft-wysiwyg/issues/1102","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/jpuri/react-draft-wysiwyg/pull/1104","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/jpuri/react-draft-wysiwyg/commit/d2faeb612b53f10dff048de7dc57e1f4044b5380","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T23:03:33.794Z"}}]}}}