GEM · JULY 2026 · EARLY WARNING

Trix Editor Vulnerability: Stored XSS via HTML Paste

EARLY WARNING · UNCONFIRMED. This page describes a developing threat that 0Day surfaced from early signals and has not yet independently confirmed. Details may change. Always verify against the primary sources before acting.
GHSA-53G2-MVCC-Q9X3GHSA-53P3-C7VP-4MCCSeverity: HIGH

An early warning has been issued regarding a potential stored XSS vulnerability in Trix editor versions prior to 2.1.18. This vulnerability may allow an attacker to execute JavaScript in the context of other users when crafted HTML is pasted into the editor.

What happened

Reportedly, Trix editor versions prior to 2.1.18 are vulnerable to a stored XSS attack. This vulnerability appears to be triggered when crafted HTML is pasted into the editor, allowing an attacker to execute JavaScript in the context of other users. The issue is under investigation, and it is recommended to upgrade to Trix editor version 2.1.18 or later to mitigate potential risks. For more detailed information, consult the primary sources provided.

How 0Day mitigates this

MATCHED TO YOUR ACTUAL DEPENDENCY GRAPH0Day matches every incoming threat signal against your GitHub organization’s full dependency graph, including transitive dependencies. If trix is anywhere in your dependency tree, the engineers who own the affected repositories get a push alert the moment it is flagged — no manual audit to remember to run.

Read how this differs from waiting on a scanner to catch a known advisory, or see the exact, read-only access 0Day needs to do this for an organization.

Join the 0Day waitlist →

← Back to all threats