Improper Input Validation Affecting @udecode/plate-link package, versions <20.0.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.08% (37th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-UDECODEPLATELINK-5673802
  • published11 Jun 2023
  • disclosed9 Jun 2023
  • creditOliverWales

Introduced: 9 Jun 2023

CVE-2023-34245  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade @udecode/plate-link to version 20.0.0 or higher.

Overview

@udecode/plate-link is a Link plugin for Plate

Affected versions of this package are vulnerable to Improper Input Validation. It does 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.

CVSS Scores

version 3.1