CVE-2025-46812 Trix vulnerable to Cross-site Scripting on copy & paste
LowCVSS 2.0
EPSS 0.73%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm trix(npm) | < 2.1.15 | 2.1.15 | Fixed |
| basecamp trix | = < 2.1.15 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm trix(npm) | < 2.1.15 | 2.1.15 |
| basecamp trix | = < 2.1.15 | No fix listed |
References
- https://github.com/basecamp/trix/security/advisories/GHSA-mcrw-746g-9q8h vendor-advisory
- https://github.com/basecamp/trix/commit/75226089646841b0f774d8b152e5ec27d2d9e191 patch
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product