CVE-2024-43368

Trix has a Cross-Site Scripting (XSS) vulnerability on copy & paste

The Trix editor, versions prior to 2.1.4, is vulnerable to XSS when pasting malicious code. This vulnerability is a bypass of the fix put in place for GHSA-qjqp-xr96-cj99. In pull request 1149, sanitation was added for Trix attachments with a `text/html` content type. However, Trix only checks the content type on the paste event's `dataTransfer` object. As long as the `dataTransfer` has a content type of `text/html`, Trix parses its contents and creates an `Attachment` with them, even if the attachment itself doesn't have a `text/html` content type. Trix then uses the attachment content to set the attachment element's `innerHTML`. 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 vulnerability was fixed in version 2.1.4.


We have discovered 4 live websites that are affected by CVE-2024-43368.

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.4
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 - Aug 14, 2024
  • Updated - Aug 15, 2024

Website Distribution by Country

Number of websites using CVE-2024-43368
United States1 websites



Turkey3 websites

Website Distribution by TLD

Number of websites using CVE-2024-43368
.com2 websites
.net1 websites

Websites affected by CVE-2024-43368

Top websites that are affected by CVE-2024-43368. 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-2024-43368 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-2024-43368, based on global website indexing conducted by WebTechSurvey.
The Trix is affected by the CVE-2024-43368 vulnerability.
Trix versions up to 2.1.4 are vulnerable to CVE-2024-43368.
CVE-2024-43368 is resolved in version 2.1.4 of Trix.