@ckeditor/ckeditor5-clipboard@45.2.0-alpha.3 vulnerabilities

Clipboard integration feature for CKEditor 5.

  • latest version

    47.2.0

  • latest non vulnerable version

  • first published

    8 years ago

  • latest version published

    5 days ago

  • licenses detected

  • Direct Vulnerabilities

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

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    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