@ckeditor/ckeditor5-clipboard@46.0.2-alpha.1 vulnerabilities

Clipboard integration feature for CKEditor 5.

  • latest version

    46.1.0

  • latest non vulnerable version

  • first published

    8 years ago

  • latest version published

    14 hours ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @ckeditor/ckeditor5-clipboard package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • L
    Cross-site Scripting (XSS)

    @ckeditor/ckeditor5-clipboard is a Clipboard integration feature for CKEditor 5.

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the viewToPlainText function in the utils/viewtoplaintext.ts file. An attacker can execute unauthorized JavaScript code by inserting malicious content into the editor.

    Note: This is only exploitable if the HTML embed plugin is enabled or if a custom plugin introduces an editable element for which View Raw Element is enabled.

    How to fix Cross-site Scripting (XSS)?

    Upgrade @ckeditor/ckeditor5-clipboard to version 45.2.2, 46.0.3 or higher.

    >=44.2.0 <45.2.2>=46.0.0 <46.0.3