Cross-site scripting in Trix - CVE-2025-46812

 

Cross-site scripting in Trix - CVE-2025-46812

Published: April 28, 2026


Vulnerability identifier: #VU128362
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U/U:Green
CVE-ID: CVE-2025-46812
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Basecamp
Affected software:
Trix

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary JavaScript code.

The vulnerability exists due to cross-site scripting in the Trix editor paste handling when processing pasted malicious code. A remote attacker can trick a user into copying and pasting crafted content to execute arbitrary JavaScript code.

User interaction is required to copy and paste the crafted content.


How to mitigate CVE-2025-46812

Install security update from vendor's website.

Sources