What’s Vulnerable › Vulnerabilities
CVE-2025-46812: Trix vulnerable to Cross-site Scripting on copy & paste
- Severity: low (CVSS 2.0 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-05-08 · updated 2026-06-17
- Weakness: CWE-79
Description
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.
Affected products
- basecamp trix: before 2.1.15
References
- https://github.com/basecamp/trix/commit/75226089646841b0f774d8b152e5ec27d2d9e191
- https://github.com/basecamp/trix/security/advisories/GHSA-mcrw-746g-9q8h
Get alerted when CVE-2025-46812 or the next vulnerability affects your stack