PT-2023-24769 · Npm · @Udecode/Plate-Link

Oliverwales

·

Published

2023-06-09

·

Updated

2023-06-21

·

CVE-2023-34245

CVSS v3.1

8.1

High

VectorAV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions @udecode/plate-link versions prior to 20.0.0
Description The issue arises from the lack of URL sanitization in affected versions of the link plugin and link UI component, allowing links with JavaScript URLs to be inserted into the Plate editor. This can occur through various means, including opening or pasting malicious content. The introduction of an allowedSchemes option in version 20.0.0 resolves this issue by only allowing specific URL schemes (http, https, mailto, tel) to be rendered to the DOM.
Recommendations For versions prior to 20.0.0, upgrade to version 20.0.0 to resolve the issue. If unable to upgrade, override the LinkElement and PlateFloatingLink components with implementations that explicitly check the URL scheme before rendering any anchor elements.

Exploit

Fix

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2023-34245
GHSA-4882-HXPR-HRVM

Affected Products

@Udecode/Plate-Link