Skip to content

Commit 2235b2d

Browse files
authored
GHSA SYNC: 1 brand new advisory (#949)
1 parent 5ab081d commit 2235b2d

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
gem: action_text-trix
3+
ghsa: g9jg-w8vm-g96v
4+
url: https://github.com/basecamp/trix/security/advisories/GHSA-g9jg-w8vm-g96v
5+
title: Trix has a stored XSS vulnerability through its attachment attribute
6+
date: 2025-12-31
7+
description: |
8+
### Impact
9+
10+
The Trix editor, in versions prior to 2.1.16, is vulnerable to XSS
11+
attacks through attachment payloads.
12+
13+
An attacker could inject malicious code into a data-trix-attachment
14+
attribute that, when rendered as HTML and clicked on, could execute
15+
arbitrary JavaScript code within the context of the user's session,
16+
potentially leading to unauthorized actions being performed or
17+
sensitive information being disclosed.
18+
19+
### Patches
20+
21+
Update Recommendation: Users should upgrade to Trix editor
22+
version 2.1.16 or later.
23+
24+
### Resources
25+
26+
The XSS vulnerability was reported by HackerOne researcher
27+
[michaelcheers](https://hackerone.com/michaelcheers?type=user).
28+
cvss_v3: 4.6
29+
patched_versions:
30+
- ">= 2.1.16"
31+
related:
32+
url:
33+
- https://github.com/basecamp/trix/security/advisories/GHSA-g9jg-w8vm-g96v
34+
- https://github.com/basecamp/trix/releases/tag/v2.1.16
35+
- https://github.com/basecamp/trix/commit/73c20cf03ab2b56c0ef9c9b1aaf63f2de44f4010
36+
- https://github.com/advisories/GHSA-g9jg-w8vm-g96v

0 commit comments

Comments
 (0)