Quick answers
- Is CVE-2025-46812 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2025-46812 being exploited in the wild.
- How severe is CVE-2025-46812?
- Medium severity, with a CVSS score of 4, published 8 May 2025.
- Which products and versions are affected?
- trix (npm) SEMVER:introduced=0,fixed=2.1.15.
- Is there a fix for CVE-2025-46812?
- Yes. trix (npm): upgrade to 2.1.15 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2025-46812 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2025-46812?
- Check whether you run trix (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- trix (npm): upgrade to 2.1.15 or later
npm install trix@2.1.15
Technical details
Trix versions prior to 2.1.15 are vulnerable to stored or reflected XSS (CWE-79) when handling pasted content. The vulnerable component fails to properly sanitize or escape user-supplied HTML/JavaScript during paste operations. An attacker can craft malicious code and socially engineer a user into copying and pasting it into a Trix editor instance; the code then executes in the context of the user's session with their privileges. User interaction (the paste action) is required. The vulnerability has been patched in version 2.1.15 and later.
Affected products
- Basecamp Trix < 2.1.15
Identifiers
- CVE-2025-46812
- GHSA-mcrw-746g-9q8h
Timeline
- 2025-05-08: disclosed
- 2025-05-08: patched: Trix 2.1.15 released