{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-34245","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2023-05-31T13:51:51.173Z","datePublished":"2023-06-09T17:04:23.815Z","dateUpdated":"2025-01-06T18:13:51.501Z"},"containers":{"cna":{"title":"Cross site scripting (XSS) in @udecode/plate-link","problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":8.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","version":"3.1"}}],"references":[{"name":"https://github.com/udecode/plate/security/advisories/GHSA-4882-hxpr-hrvm","tags":["x_refsource_CONFIRM"],"url":"https://github.com/udecode/plate/security/advisories/GHSA-4882-hxpr-hrvm"},{"name":"https://github.com/udecode/plate/commit/93dd5712854660874900ae12e4d8e6ff28089eb7","tags":["x_refsource_MISC"],"url":"https://github.com/udecode/plate/commit/93dd5712854660874900ae12e4d8e6ff28089eb7"}],"affected":[{"vendor":"udecode","product":"plate","versions":[{"version":"< 20.0.0","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2023-06-09T17:04:23.815Z"},"descriptions":[{"lang":"en","value":"@udecode/plate-link is the link handler for the udecode/plate rich-text editor plugin system for Slate & React. Affected versions of the link plugin and link UI component do not sanitize URLs to prevent use of the `javascript:` scheme. As a result, links with JavaScript URLs can be inserted into the Plate editor through various means, including opening or pasting malicious content. `@udecode/plate-link` 20.0.0 resolves this issue by introducing an `allowedSchemes` option to the link plugin, defaulting to `['http', 'https', 'mailto', 'tel']`. URLs using a scheme that isn't in this list will not be rendered to the DOM. Users are advised to upgrade. Users unable to upgrade are advised to override the `LinkElement` and `PlateFloatingLink` components with implementations that explicitly check the URL scheme before rendering any anchor elements."}],"source":{"advisory":"GHSA-4882-hxpr-hrvm","discovery":"UNKNOWN"}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-02T16:01:54.346Z"},"title":"CVE Program Container","references":[{"name":"https://github.com/udecode/plate/security/advisories/GHSA-4882-hxpr-hrvm","tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://github.com/udecode/plate/security/advisories/GHSA-4882-hxpr-hrvm"},{"name":"https://github.com/udecode/plate/commit/93dd5712854660874900ae12e4d8e6ff28089eb7","tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/udecode/plate/commit/93dd5712854660874900ae12e4d8e6ff28089eb7"}]},{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-01-06T18:13:42.600551Z","id":"CVE-2023-34245","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-01-06T18:13:51.501Z"}}]}}