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.

PackageEcosystemFixed in
action_text-trixRubyGems2.1.16
trixnpm2.1.16
ruby3.4-rails-8.1Chainguard8.1.2-r0
ruby3.2-rails-8.1Chainguard8.1.2-r0
ruby3.2-rails-8.1Wolfi8.1.2-r0
ruby3.4-rails-8.1Wolfi8.1.2-r0
ruby3.3-rails-8.1Chainguard8.1.1-r1
ruby3.3-rails-8.1Wolfi8.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

VendorProductVersions
chainguardruby3.4-rails-8.10
chainguardruby3.2-rails-8.10
wolfiruby3.2-rails-8.10
wolfiruby3.4-rails-8.10
chainguardruby3.3-rails-8.10
RubyGemsaction_text-trix0
wolfiruby3.3-rails-8.10
npmtrix0

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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›