Trix vulnerable to Cross-site Scripting on copy & paste
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Active
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- None · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
Trix is a what-you-see-is-what-you-get rich text editor for everyday writing. Versions prior to 2.1.15 are vulnerable to XSS attacks when pasting malicious code. An attacker could trick a user to copy and paste malicious code that would execute arbitrary JavaScript code within the context of the user's session, potentially leading to unauthorized actions being performed or sensitive information being disclosed. This issue has been patched in version 2.1.15.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| basecamp | trix | before 2.1.15 | 2.1.15 | Patch available | CNA |
| — | trix (npm) | before 2.1.15 | 2.1.15 | Patch available | GHSA-mcrw-746g-9q8h |
- trix Vendorbasecamp Affected before 2.1.15 Fixed in 2.1.15 Patch available CNA
- trix (npm) Vendor— Affected before 2.1.15 Fixed in 2.1.15 Patch available GHSA-mcrw-746g-9q8h
Remediation
- Fix · CNA trix (basecamp) Fixed in 2.1.15
- Fix · GHSA-mcrw-746g-9q8h trix (npm) Fixed in 2.1.15 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-46812
- 2026-10-03 Alias added: GHSA-mcrw-746g-9q8h
References
More basecamp vulnerabilities
- TI-2023-18436 Directory traversal can occur in the Basecamp com.basecamp.bc3 application before 4.2.1… CVSS 3.1HIGH 7.5
- TI-2024-29019 Trix has a Cross-Site Scripting (XSS) vulnerability on copy & paste CVSS 3.1MEDIUM 6.5
- TI-2024-36043 Trix vulnerable to Cross-site Scripting on copy & paste CVSS 4.0MEDIUM 5.1
- TI-2018-16075 easymon version 1.4 and earlier contains a Cross Site Scripting (XSS) vulnerability in… CVSS 3.1MEDIUM 6.1
- TI-2024-22682 The Trix Editor Contains an Arbitrary Code Execution Vulnerability CVSS 3.1MEDIUM 5.4
- TI-2025-15570 Trix allows Cross-site Scripting via `javascript:` url in a link CVSS 3.1MEDIUM 5.3
Sources
- CVE-2025-46812 · CVE Program
- CVE-2025-46812 · NVD
- FIRST EPSS
- GHSA-mcrw-746g-9q8h · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences