org.webjars.npm:trix@1.3.1 vulnerabilities

  • latest version

    2.1.5

  • latest non vulnerable version

  • first published

    a year ago

  • latest version published

    3 months ago

  • licenses detected

  • package manager

Direct Vulnerabilities

Known vulnerabilities in the org.webjars.npm:trix package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable 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) due to improper input sanitization of the Attachment object, which derives from an improper fix of CVE-2024-34341. An attacker can trick a user into copying and pasting malicious code that will trigger the exploitation of the vulnerability.

How to fix Cross-site Scripting (XSS)?

Upgrade org.webjars.npm:trix to version 2.1.4 or higher.

[,2.1.4)
  • 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) due to improper sanitization of pasted content from external sources into the editor. An attacker can execute arbitrary JavaScript code within the context of the user's session by embedding malicious scripts in the copied content. This is only exploitable if the Content Security Policy (CSP) does not adequately restrict inline scripts and external sources.

How to fix Cross-site Scripting (XSS)?

Upgrade org.webjars.npm:trix to version 2.1.5 or higher.

[,2.1.5)