trix@2.1.2 vulnerabilities

A rich text editor for everyday writing

Direct Vulnerabilities

Known vulnerabilities in the 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)

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 trix to version 2.1.4 or higher.

<2.1.4