Cross site scripting (XSS) in @udecode/plate-link
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
@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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| udecode | plate | before 20.0.0 | 20.0.0 | Patch available | CNA |
| — | @udecode/plate-link (npm) | before 20.0.0 | 20.0.0 | Patch available | GHSA-4882-hxpr-hrvm |
- plate Vendorudecode Affected before 20.0.0 Fixed in 20.0.0 Patch available CNA
- @udecode/plate-link (npm) Vendor— Affected before 20.0.0 Fixed in 20.0.0 Patch available GHSA-4882-hxpr-hrvm
Remediation
- Fix · CNA plate (udecode) Fixed in 20.0.0
- Fix · GHSA-4882-hxpr-hrvm @udecode/plate-link (npm) Fixed in 20.0.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2023-34245
- 2026-10-03 Alias added: GHSA-4882-hxpr-hrvm
References
Sources
- CVE-2023-34245 · CVE Program
- CVE-2023-34245 · NVD
- FIRST EPSS
- GHSA-4882-hxpr-hrvm · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences