CVE-2025-46812

Trix vulnerable to Cross-site Scripting on copy & paste

Published May 8, 2025 CVSS 4.0 · 2 Low EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-14005 Trix vulnerable to Cross-site Scripting on copy & paste
Github GHSA Github GHSA GHSA-mcrw-746g-9q8h Trix vulnerable to Cross-site Scripting on copy & paste
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00067}

epss

{'score': 0.0007}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Trix vulnerable to Cross-site Scripting on copy & paste
Weaknesses CWE-79
References
Metrics cvssV4_0

{'score': 2, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
May 8, 2025, 8:00 PM
Reserved
Apr 30, 2025, 7:41 PM
Status
Deferred
Published
May 8, 2025, 8:15 PM
Modified
Jun 17, 2026, 9:26 AM