CVE-2025-46812: Trix vulnerable to Cross-site Scripting on copy & paste
Low · CVSS 2.0 (CVSS 4.0)EPSS 0.72%, 53th percentilePublished Updated Assigner: 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.
CWE-79
Tracked companies
Mapped from the CVE’s affected-product data, NVD CPE matches, vendor advisories or package feeds. A mapping means the vendor’s software is named, not that its hosted service was exposed.
Status incidents that name it
No tracked status incident names this CVE.
Affected vendors and products
basecamp: trix
References
- CVE record on cve.org (opens in new tab)
- NVD entry (opens in new tab)
- github.com/basecamp/trix/commit/75226089646841b0f774d8b152e5ec27d2d9e191 (opens in new tab)
- github.com/basecamp/trix/security/advisories/GHSA-mcrw-746g-9q8h (opens in new tab)
- CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (opens in new tab)
- This product uses data from the NVD API but is not endorsed or certified by the NVD. (opens in new tab)
- Known Exploited Vulnerabilities catalog from CISA. (opens in new tab)
- EPSS scores from FIRST (Exploit Prediction Scoring System). (opens in new tab)