Read the docs
TI-2025-43875 Aliases GHSA-g9jg-w8vm-g96v

Trix has a stored XSS vulnerability through its attachment attribute

Priority LOW 38CWE-79Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
Cross-site scripting
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-79.

Summary

### Impact The Trix editor, in versions prior to 2.1.16, is vulnerable to XSS attacks through attachment payloads. An attacker could inject malicious code into a data-trix-attachment attribute that, when rendered as HTML and clicked on, could execute arbitrary JavaScript code within the context of the user's session, potentially leading to unauthorized actions being performed or sensitive information being disclosed. ### Patches Update Recommendation: Users should upgrade to Trix editor version 2.1.16 or later. ### Resources The XSS vulnerability was reported by HackerOne researcher [michaelcheers](https://hackerone.com/michaelcheers?type=user).

Why it matters now

Fix Fixed trix (npm): 2.1.16action_text-trix (RubyGems): 2.1.16

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—trix (npm)before 2.1.162.1.16Patch availableGHSA-g9jg-w8vm-g96v
—action_text-trix (RubyGems)before 2.1.162.1.16Patch availableGHSA-g9jg-w8vm-g96v
  • trix (npm) Vendor— Affected before 2.1.16 Fixed in 2.1.16 Patch available GHSA-g9jg-w8vm-g96v
  • action_text-trix (RubyGems) Vendor— Affected before 2.1.16 Fixed in 2.1.16 Patch available GHSA-g9jg-w8vm-g96v

Remediation

  • Fix · GHSA-g9jg-w8vm-g96v trix (npm) Fixed in 2.1.16 Advisory →
  • Fix · GHSA-g9jg-w8vm-g96v action_text-trix (RubyGems) Fixed in 2.1.16 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-g9jg-w8vm-g96v

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences