Skip to content
OpenAdvisories
Low · 2.0 CVE-2025-46812 EUVD-2025-14005GHSA-mcrw-746g-9q8h

Trix vulnerable to Cross-site Scripting on copy & paste

Published May 8, 2025 · Updated May 8, 2025 · Assigned by GitHub_M

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

VendorProductAffectedFixed
basecamp trix < 2.1.15 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm trix < 2.1.15 2.1.15 GHSA-mcrw-746g-9q8h

References