CVE-2026-73427: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in basecamp trix
Trix, a rich text editor by Basecamp, is vulnerable to a cross-site scripting (XSS) flaw prior to version 2.1.18. The vulnerability arises when a crafted JSON payload with malicious href attributes is dropped into the editor using a fallback input controller, allowing JavaScript execution. Exploitation requires user interaction via drag-and-drop of attacker-controlled content. Server-side HTML sanitization can neutralize the payload on save. The issue is fixed in version 2.1.18.
AI Analysis
Technical Summary
CVE-2026-73427 is a cross-site scripting vulnerability in Basecamp's Trix editor versions before 2.1.18. The vulnerability occurs because the StringPiece.fromJSON method does not sanitize href attributes in application/x-trix-document JSON payloads, allowing a draggable element with a javascript: URI to bypass DOMPurify sanitization and execute JavaScript in the DOM. Exploitation requires the victim to drag and drop attacker-controlled content into the editor using the fallback Level0InputController, such as in an embedded WebView lacking Input Events Level 2 support. Server-side HTML sanitization can mitigate the payload upon saving. The vulnerability is resolved in Trix version 2.1.18.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of the victim's browser when the victim drags and drops malicious content into the editor. This could lead to typical XSS impacts such as session hijacking or UI manipulation. However, the attack requires user interaction and specific conditions (fallback input controller usage). Server-side sanitization can neutralize the payload on save, reducing risk.
Mitigation Recommendations
Upgrade Trix to version 2.1.18 or later, where this vulnerability is fixed. Additionally, ensure server-side HTML sanitization is applied to neutralize malicious payloads on save. No other immediate actions are required as exploitation requires user interaction and specific input controller conditions.
CVE-2026-73427: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in basecamp trix
Description
Trix, a rich text editor by Basecamp, is vulnerable to a cross-site scripting (XSS) flaw prior to version 2.1.18. The vulnerability arises when a crafted JSON payload with malicious href attributes is dropped into the editor using a fallback input controller, allowing JavaScript execution. Exploitation requires user interaction via drag-and-drop of attacker-controlled content. Server-side HTML sanitization can neutralize the payload on save. The issue is fixed in version 2.1.18.
CVSS v4.0
Score 2.1low
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-73427 is a cross-site scripting vulnerability in Basecamp's Trix editor versions before 2.1.18. The vulnerability occurs because the StringPiece.fromJSON method does not sanitize href attributes in application/x-trix-document JSON payloads, allowing a draggable element with a javascript: URI to bypass DOMPurify sanitization and execute JavaScript in the DOM. Exploitation requires the victim to drag and drop attacker-controlled content into the editor using the fallback Level0InputController, such as in an embedded WebView lacking Input Events Level 2 support. Server-side HTML sanitization can mitigate the payload upon saving. The vulnerability is resolved in Trix version 2.1.18.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of the victim's browser when the victim drags and drops malicious content into the editor. This could lead to typical XSS impacts such as session hijacking or UI manipulation. However, the attack requires user interaction and specific conditions (fallback input controller usage). Server-side sanitization can neutralize the payload on save, reducing risk.
Mitigation Recommendations
Upgrade Trix to version 2.1.18 or later, where this vulnerability is fixed. Additionally, ensure server-side HTML sanitization is applied to neutralize malicious payloads on save. No other immediate actions are required as exploitation requires user interaction and specific input controller conditions.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-08-12T14:32:11.796Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a7ce1eabf8831d5392b0345
Added to database: 08/12/2026, 21:13:14 UTC
Last enriched: 08/12/2026, 21:28:10 UTC
Last updated: 08/13/2026, 01:32:20 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.