VDB
GHSA-g9jg-w8vm-g96v
GHSA-g9jg-w8vm-g96v
PUBLISHED
CVSS 4.599999904632568 MEDIUM
Trix has a stored XSS vulnerability through its attachment attribute
Record from GitHub Advisory Database · Published December 31, 2025
action_text-trix is fixed in 2.1.16 (RubyGems)
Trix has a stored XSS vulnerability through its attachment attribute
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| action_text-trix | RubyGems | 2.1.16 |
| trix | npm | 2.1.16 |
| ruby3.4-rails-8.1 | Chainguard | 8.1.2-r0 |
| ruby3.2-rails-8.1 | Chainguard | 8.1.2-r0 |
| ruby3.2-rails-8.1 | Wolfi | 8.1.2-r0 |
| ruby3.4-rails-8.1 | Wolfi | 8.1.2-r0 |
| ruby3.3-rails-8.1 | Chainguard | 8.1.1-r1 |
| ruby3.3-rails-8.1 | Wolfi | 8.1.1-r1 |
Risk scores
CVSS 3.1
4.599999904632568
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
Affected products
| Vendor | Product | Versions |
|---|---|---|
| chainguard | ruby3.4-rails-8.1 | 0 |
| chainguard | ruby3.2-rails-8.1 | 0 |
| wolfi | ruby3.2-rails-8.1 | 0 |
| wolfi | ruby3.4-rails-8.1 | 0 |
| chainguard | ruby3.3-rails-8.1 | 0 |
| RubyGems | action_text-trix | 0 |
| wolfi | ruby3.3-rails-8.1 | 0 |
| npm | trix | 0 |
Timeline
- Dec 31, 2025 CVE Published
- Jan 8, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln GHSA-g9jg-w8vm-g96v
vulnetix vdb fixes GHSA-g9jg-w8vm-g96v
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/GHSA-g9jg-w8vm-g96v/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/advisories/GHSA-g9jg-w8vm-g96v advisory
- https://github.com/basecamp/trix/security/advisories/GHSA-g9jg-w8vm-g96v url
- https://github.com/basecamp/trix/commit/73c20cf03ab2b56c0ef9c9b1aaf63f2de44f4010 patch
- https://github.com/basecamp/trix url
- https://github.com/basecamp/trix/releases/tag/v2.1.16 url
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/action_text-trix/GHSA-g9jg-w8vm-g96v.yml advisory