CVE-2024-43368
Last modified
CVE-2024-43368 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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. EPSS estimates a 0.49% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2024-43368?
How severe is CVE-2024-43368?
How do I fix CVE-2024-43368?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-43362Cacti is an open source performance and fault management fra…5.4
- CVE-2024-43363Cacti is an open source performance and fault management fra…7.2
- CVE-2024-43364Cacti is an open source performance and fault management fra…8.2
- CVE-2024-43365Cacti is an open source performance and fault management fra…8.2
- CVE-2024-43366zkvyper is a Vyper compiler. Starting in version 1.3.12 and …9.1
- CVE-2024-43367Boa is an embeddable and experimental Javascript engine writ…7.5
- CVE-2024-43369Ibexa RichText Field Type is a Field Type for supporting ric…7.2
- CVE-2024-4337Adive Framework 2.0.8, does not sufficiently encode user-con…7.4
- CVE-2024-43370gettext.js is a GNU gettext port for node and the browser. T…7.2
- CVE-2024-43371CKAN is an open-source data management system for powering d…6.5
- CVE-2024-43372Rejected reason: ** REJECT ** DO NOT USE THIS CANDIDATE NUMB…
- CVE-2024-43373webcrack is a tool for reverse engineering javascript. An ar…7.8
Are you affected by CVE-2024-43368?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
