CVE-2024-34341
published medium CVSS 3.1 · 5.4The Trix Editor Contains an Arbitrary Code Execution Vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| basecamp | — | trix< 2.1.1 | Affected | Not stated | GitHub_M |
| basecamp | — | trix0 to < 2.1.1 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.3-rubygem-actiontext-7.0aarch64 | Advisory build | 7.0.8.4-1.1 | OPENSUSE-SU-2024:14068-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.3-rubygem-actiontext-7.0ppc64le | Advisory build | 7.0.8.4-1.1 | OPENSUSE-SU-2024:14068-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.3-rubygem-actiontext-7.0s390x | Advisory build | 7.0.8.4-1.1 | OPENSUSE-SU-2024:14068-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.3-rubygem-actiontext-7.0x86_64 | Advisory build | 7.0.8.4-1.1 | OPENSUSE-SU-2024:14068-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.3-rubygem-rails-7.0aarch64 | Advisory build | 7.0.8.4-1.1 | OPENSUSE-SU-2024:14074-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.3-rubygem-rails-7.0ppc64le | Advisory build | 7.0.8.4-1.1 | OPENSUSE-SU-2024:14074-1 |
Show 10 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.3-rubygem-rails-7.0s390x | Advisory build | 7.0.8.4-1.1 | OPENSUSE-SU-2024:14074-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.3-rubygem-rails-7.0x86_64 | Advisory build | 7.0.8.4-1.1 | OPENSUSE-SU-2024:14074-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-actiontext-7.0aarch64 | Advisory build | 7.0.8.6-1.3 | OPENSUSE-SU-2025:15111-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-actiontext-7.0ppc64le | Advisory build | 7.0.8.6-1.3 | OPENSUSE-SU-2025:15111-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-actiontext-7.0s390x | Advisory build | 7.0.8.6-1.3 | OPENSUSE-SU-2025:15111-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-actiontext-7.0x86_64 | Advisory build | 7.0.8.6-1.3 | OPENSUSE-SU-2025:15111-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-rails-7.0aarch64 | Advisory build | 7.0.8.6-1.3 | OPENSUSE-SU-2025:15124-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-rails-7.0ppc64le | Advisory build | 7.0.8.6-1.3 | OPENSUSE-SU-2025:15124-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-rails-7.0s390x | Advisory build | 7.0.8.6-1.3 | OPENSUSE-SU-2025:15124-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-rails-7.0x86_64 | Advisory build | 7.0.8.6-1.3 | OPENSUSE-SU-2025:15124-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.4 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| basecamp | trix | < 2.1.1 (affected) | GitHub_M · cna |
| basecamp | trix | 0 to < 2.1.1 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
6- https://github.com/basecamp/trix/commit/1a5c68a14d48421fc368e30026f4a7918028b7ad
- https://github.com/basecamp/trix/commit/841ff19b53f349915100bca8fcb488214ff93554
- https://github.com/basecamp/trix/pull/1147
- https://github.com/basecamp/trix/pull/1149
- https://github.com/basecamp/trix/releases/tag/v2.1.1
- https://github.com/basecamp/trix/security/advisories/GHSA-qjqp-xr96-cj99
Provider assertions
3GitHub_M · cna
The Trix Editor Contains an Arbitrary Code Execution Vulnerability
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- f4b019a3c88e8faaa4ba650c1ee37eb6cc273233259997419fb2142b017c194b
- Ingested
- 23 Sep 2026, 08:23:23 UTC
- Source record
- Official CVE record