@vaadin/rich-text-editor@25.2.14

vaadin-rich-text-editor

  • latest version

    25.3.7

  • latest non vulnerable version

  • first published

    5 years ago

  • latest version published

    10 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @vaadin/rich-text-editor 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
    • M
    Cross-site Scripting (XSS)

    @vaadin/rich-text-editor is a vaadin-rich-text-editor

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the video embed export in getSemanticHTML(), which does not escape the video URL before inserting it into HTML that is then parsed into live DOM. An attacker who can edit shared content can store a video embed whose URL breaks out of the href attribute, causing arbitrary script to execute in any viewer's browser when the page is loaded, including in read-only mode.

    Note: Only content persisted through asDelta() is affected; content set and read through setValue and getValue passes through server-side sanitization that strips iframes and is not vulnerable.

    How to fix Cross-site Scripting (XSS)?

    Upgrade @vaadin/rich-text-editor to version 25.4.0-alpha5 or higher.

    <25.4.0-alpha5