2.1.10
9 years ago
5 days ago
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 freeVulnerability | Vulnerable Version |
---|---|
trix is a Rich Text Editor. Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the pasting process due to improper input sanitization. An attacker can execute arbitrary JavaScript code within the user's session, potentially leading to unauthorized actions or sensitive information disclosure by tricking a user to copy and paste malicious code. Note: In addition to upgrading to the patched version, it is recommended to disallow browsers that don't support a Content Security Policy and setting CSP policies such as script-src 'self' to ensure that only scripts hosted on the same origin are executed, and explicitly prohibiting inline scripts using script-src-elem. How to fix Cross-site Scripting (XSS)? Upgrade | >=1.0.0 <1.3.3>=2.0.0 <2.1.9 |
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 How to fix Cross-site Scripting (XSS)? Upgrade | <1.3.3>=2.0.0-alpha.0 <2.1.4 |
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 | >=0.9.0 <1.3.2>=2.0.0 <2.1.1 |
trix is a Rich Text Editor. Affected versions of this package are vulnerable to Cross-site Scripting (XSS). The How to fix Cross-site Scripting (XSS)? Upgrade | <1.2.3 |
trix is a Rich Text Editor. Affected versions of this package are vulnerable to Cross-site Scripting (XSS). It was possible to execute JavaScript on Trix Editor by pasting specially crafted HTML. How to fix Cross-site Scripting (XSS)? Upgrade | <1.2.2 |