CVE-2026-73428: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in basecamp trix
Trix, a rich text editor by Basecamp, has a stored cross-site scripting (XSS) vulnerability in versions prior to 2.1.18. The issue arises when crafted HTML containing a javascript: URI is pasted into the editor, allowing execution when rendered and clicked by another user. Server-side HTML sanitization can mitigate this risk. The vulnerability is fixed in version 2.1.18.
AI Analysis
Technical Summary
CVE-2026-73428 describes a stored cross-site scripting vulnerability in Basecamp's Trix editor before version 2.1.18. The vulnerability occurs because HTMLParser processes a mock attachment in a <span> with an empty data-trix-attachment attribute, causing data-trix-attributes to be applied to a plain string piece. The StringPiece.fromJSON method accepts an unvalidated href, allowing a javascript: URI to be injected into the document model. This malicious URI can be serialized into HTML and executed when another user renders and clicks the content. Server-side HTML sanitization can neutralize the payload on save. The issue is resolved in Trix version 2.1.18.
Potential Impact
An attacker can inject malicious javascript: URIs into the Trix editor content, leading to stored cross-site scripting. This can result in execution of arbitrary JavaScript in the context of users viewing the content, potentially compromising confidentiality and integrity. The CVSS score is 4.6 (medium severity), reflecting limited impact with user interaction required and low privileges needed.
Mitigation Recommendations
Upgrade Trix to version 2.1.18 or later, where this vulnerability is fixed. Alternatively, apply server-side HTML sanitization to neutralize malicious payloads on save. Since the vendor advisory does not specify an official fix beyond the version update, patching to 2.1.18 is the recommended remediation.
CVE-2026-73428: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in basecamp trix
Description
Trix, a rich text editor by Basecamp, has a stored cross-site scripting (XSS) vulnerability in versions prior to 2.1.18. The issue arises when crafted HTML containing a javascript: URI is pasted into the editor, allowing execution when rendered and clicked by another user. Server-side HTML sanitization can mitigate this risk. The vulnerability is fixed in version 2.1.18.
CVSS v3.1
Score 4.6medium
Affected software
basecamp
trix
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-73428 describes a stored cross-site scripting vulnerability in Basecamp's Trix editor before version 2.1.18. The vulnerability occurs because HTMLParser processes a mock attachment in a <span> with an empty data-trix-attachment attribute, causing data-trix-attributes to be applied to a plain string piece. The StringPiece.fromJSON method accepts an unvalidated href, allowing a javascript: URI to be injected into the document model. This malicious URI can be serialized into HTML and executed when another user renders and clicks the content. Server-side HTML sanitization can neutralize the payload on save. The issue is resolved in Trix version 2.1.18.
Potential Impact
An attacker can inject malicious javascript: URIs into the Trix editor content, leading to stored cross-site scripting. This can result in execution of arbitrary JavaScript in the context of users viewing the content, potentially compromising confidentiality and integrity. The CVSS score is 4.6 (medium severity), reflecting limited impact with user interaction required and low privileges needed.
Mitigation Recommendations
Upgrade Trix to version 2.1.18 or later, where this vulnerability is fixed. Alternatively, apply server-side HTML sanitization to neutralize malicious payloads on save. Since the vendor advisory does not specify an official fix beyond the version update, patching to 2.1.18 is the recommended remediation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-08-12T14:32:11.796Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a7e4130bf8831d539e0525e
Added to database: 08/13/2026, 22:12:00 UTC
Last enriched: 08/21/2026, 13:33:25 UTC
Last updated: 09/26/2026, 13:47:48 UTC
Views: 63
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.