CVE-2025-46812
lowpriority · track · 0EPSS 0.007 · 54 %ileEUUSEPSS · scored 2026-10-28
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (2)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-mcrw-746g-9q8hTrix vulnerable to Cross-site Scripting on copy & paste2025-05-08ghsa · osvUS
### Impact The Trix editor, in versions prior to 2.1.15, is 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. ### Patches Update Recommendation: Users should upgrade to Trix editor version 2.1.15 or later. ### References The XSS vulnerability was reported by HackerOne researcher [hiumee](https://hackerone.com/hiumee?type=user).
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (7)
External citations — patches, advisories, analysis.
- https://github.com/basecamp/trix/commit/75226089646841b0f774d8b152e5ec27d2d9e191cnnvd
- https://github.com/basecamp/trix/releasesPatchcnnvd
- https://github.com/basecamp/trix/security/advisories/GHSA-mcrw-746g-9q8hcnnvd
- https://github.com/basecamp/trix/commit/75226089646841b0f774d8b152e5ec27d2d9e191enisa_euvd
- https://github.com/basecamp/trix/security/advisories/GHSA-mcrw-746g-9q8henisa_euvd
- https://github.com/basecamp/trix/commit/75226089646841b0f774d8b152e5ec27d2d9e191nvd
- https://github.com/basecamp/trix/security/advisories/GHSA-mcrw-746g-9q8hnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan