CVE-2024-34341
May 07, 2024
Trix is a rich text editor. The Trix editor, versions prior to 2.1.1, is vulnerable to arbitrary code execution when copying and pasting content from the web or other documents with markup into the editor. The vulnerability stems from improper sanitization of pasted content, allowing an attacker to embed malicious scripts which are executed within the context of the application. Users should upgrade to Trix editor version 2.1.1 or later, which incorporates proper sanitization of input from copied content.
Affected Packages
trix (CDN_JS):
Affected version(s) >=2.0.0 <2.1.1Fix Suggestion:
Update to version 2.1.1trix (NPM):
Affected version(s) >=0.9.0 <1.3.2Fix Suggestion:
Update to version 1.3.2trix (NPM):
Affected version(s) >=2.0.0 <2.1.1Fix Suggestion:
Update to version 2.1.1actiontext (RUBY):
Affected version(s) >=7.1.0.beta1 <7.1.3.3Fix Suggestion:
Update to version 7.1.3.3actiontext (RUBY):
Affected version(s) >=7.0.0.alpha1 <7.0.8.3Fix Suggestion:
Update to version 7.0.8.3Related Resources (21)
Do you need more information?
Contact UsCVSS v4
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.4
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
EPSS
Base Score:
0.41