CVE-2025-21610

Trix allows Cross-site Scripting via `javascript:` url in a link

Trix is a what-you-see-is-what-you-get rich text editor for everyday writing. Versions prior to 2.1.12 are vulnerable to cross-site scripting when pasting malicious code in the link field. An attacker could trick the user to copy&paste a malicious `javascript:` URL as a link 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. Users should upgrade to Trix editor version 2.1.12 or later to receive a patch. In addition to upgrading, affected users can disallow browsers that don't support a Content Security Policy (CSP) as a workaround for this and other cross-site scripting vulnerabilities. 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.


We have discovered 4 live websites that are affected by CVE-2025-21610.

Run a Free Instant Scan




Affected Software

Product  Trix
Category Rich Text Editors
Vulnerable Domains4 live websites (100% of Trix install base)
Vulnerable Versions
  • from 0 through 2.1.12
Vulnerable Versions Count0 versions ( less than 0.1% of all versions)


Common Weakness Enumeration

CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')



Details

  • Published - Jan 3, 2025
  • Updated - Jan 3, 2025

Website Distribution by Country

Number of websites using CVE-2025-21610
United States1 websites



Turkey3 websites

Website Distribution by TLD

Number of websites using CVE-2025-21610
.com2 websites
.net1 websites

Websites affected by CVE-2025-21610

Top websites that are affected by CVE-2025-21610. Please click on the "Contact us" link to get more information.
DomainCountryRankContacts
*********.com Turkey**,***,***
*******.******.com United States**,***,***
*******.net Turkey**,***,***
******.tv Turkey***,***,***
See full domain list

FAQ

CVE-2025-21610 is Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in Trix
A total of 4 websites have been identified as vulnerable to CVE-2025-21610, based on global website indexing conducted by WebTechSurvey.
The Trix is affected by the CVE-2025-21610 vulnerability.
Trix versions up to 2.1.12 are vulnerable to CVE-2025-21610.
CVE-2025-21610 is resolved in version 2.1.12 of Trix.