PT-2023-24769

CVE-2023-34245

·

Published

2023-06-09

·

Updated

2023-06-21

Description by

CVSS 3.1
8.1
High
MetricsAV: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.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-4882-HXPR-HRVM
Found an issue in the description? Have something to add? Feel free to write us 👾