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.