Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE-2024-34341
Summary
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 that are executed within the context of the application. Users should upgrade to the fixed version, which incorporates proper sanitization of input from copied content. This vulnerability also affects actiontext versions 7.0.0.alpha1 through 7.0.8.2, and 7.1.0.beta1 through 7.1.3.2.
- LOW
- NETWORK
- LOW
- UNCHANGED
- REQUIRED
- NONE
- LOW
- NONE
CWE-79 - Cross Site Scripting
Cross-Site Scripting, commonly referred to as XSS, is the most dominant class of vulnerabilities. It allows an attacker to inject malicious code into a pregnable web application and victimize its users. The exploitation of such a weakness can cause severe issues such as account takeover, and sensitive data exfiltration. Because of the prevalence of XSS vulnerabilities and their high rate of exploitation, it has remained in the OWASP top 10 vulnerabilities for years.
Advisory Timeline
- Published