org.webjars.npm:trix@2.1.17

  • latest version

    2.1.17

  • first published

    2 years ago

  • latest version published

    20 days ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.webjars.npm:trix 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)

    org.webjars.npm:trix is a Rich Text Editor.

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the StringPiece.fromJSON function. An attacker can execute arbitrary JavaScript in the context of the victim's browser by tricking a user into dragging and dropping a crafted application/x-trix-document JSON payload containing a javascript: URI in the href attribute into the editor.

    Note: This is only exploitable if the environment uses the Level0InputController fallback (such as embedded WebViews lacking Input Events Level 2 support).

    How to fix Cross-site Scripting (XSS)?

    A fix was pushed into the master branch but not yet published.

    [0,)