PT-2025-4298 · Trix · Trix
Th4S1S
·
Published
2025-01-03
·
Updated
2025-01-03
·
CVE-2025-21610
CVSS v3.1
5.3
Medium
| Vector | AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
Trix editor versions prior to 2.1.12
Description
Trix is a what-you-see-is-what-you-get rich text editor for everyday writing. The issue arises when pasting malicious code in the link field, allowing an attacker to trick the user into copying and pasting a malicious
javascript: URL as a link. This could execute arbitrary JavaScript code within the context of the user's session, potentially leading to unauthorized actions or sensitive information disclosure.Recommendations
Upgrade to Trix editor version 2.1.12 or later to receive a patch.
As a temporary workaround, consider disallowing browsers that don't support a Content Security Policy (CSP) to minimize the risk of exploitation.
Set CSP policies such as script-src 'self' to ensure that only scripts hosted on the same origin are executed, and explicitly prohibit inline scripts using script-src-elem.
Exploit
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Trix