Skip to content

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.

PackageAffectedFixed inStatus
npm trix(npm) < 2.1.15 2.1.15 Fixed
basecamp trix = < 2.1.15 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
npm trix(npm) < 2.1.15 2.1.15
basecamp trix = < 2.1.15 No fix listed

References