Trix: XSS via JSON deserialization bypass in drag-and-drop (Level0InputController)
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| basecamp | trix | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Basecamp | Trix |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-53p3-c7vp-4mcc | Trix is vulnerable to XSS through JSON deserialization bypass in drag-and-drop (Level0InputController) |
No CVSS v3.1
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.575% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Basecamp
Basecamp trix |
|
| Vendors & Products |
Basecamp
Basecamp trix |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Trix is a what-you-see-is-what-you-get rich text editor for everyday writing. Prior to 2.1.18, Trix is vulnerable to cross-site scripting when a crafted application/x-trix-document JSON payload is dropped into an editor using the fallback Level0InputController, such as an embedded WebView without Input Events Level 2 support. The StringPiece.fromJSON method trusts href attributes from the JSON payload without sanitization, allowing a draggable element containing a javascript: URI to bypass DOMPurify sanitization and inject executable JavaScript into the DOM. Exploitation requires the victim to drag and drop attacker-controlled content, and server-side HTML sanitization can neutralize the payload on save. This issue is fixed in version 2.1.18. | |
| Title | Trix: XSS via JSON deserialization bypass in drag-and-drop (Level0InputController) | |
| Weaknesses | CWE-79 | |
| References |
| |
| Metrics |
cvssV4_0
|