# CVE-2023-34245: Cross site scripting (XSS) in @udecode/plate-link

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-01)
- Published: 2023-06-09T17:04:23.815Z
- Modified: 2026-09-10T03:50:01.851Z
- Also known as: GHSA-4882-hxpr-hrvm
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

@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.

(As written by CVE List.)

## Affected

- udecode plate: < 20.0.0; before 20.0.0
- @udecode/plate-link (npm): before 20.0.0

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/udecode/plate/security/advisories/GHSA-4882-hxpr-hrvm> (vendor-advisory, web)
- <https://github.com/udecode/plate/commit/93dd5712854660874900ae12e4d8e6ff28089eb7> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-34245> (advisory)
- <https://github.com/udecode/plate/pull/2240> (web)
- <https://github.com/udecode/plate> (package)

## Sources

- CVE List: [CVE-2023-34245](https://www.cve.org/CVERecord?id=CVE-2023-34245), CVE Terms of Use, modified 2025-01-06
- GitHub Advisory Database: [GHSA-4882-hxpr-hrvm](https://github.com/advisories/GHSA-4882-hxpr-hrvm), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-34245](https://nvd.nist.gov/vuln/detail/CVE-2023-34245), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-34245 · Whole record: https://cve.day/CVE-2023-34245.json · Rebuilt by cve.day 2026-11-25T22:58:24.725Z
