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


Severity

0.0
high
0
10

    Threat Intelligence

    EPSS
    0.07% (31st 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 ID SNYK-JS-UDECODEPLATELINK-5673802
  • published 11 Jun 2023
  • disclosed 9 Jun 2023
  • credit OliverWales

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
Expand this section

Snyk

8.1 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    Required
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    None
Expand this section

NVD

6.1 medium