SB20260428199 - Multiple vulnerabilities in Trix



SB20260428199 - Multiple vulnerabilities in Trix

Published: April 28, 2026 Updated: November 18, 2026

Security Bulletin ID SB20260428199
CSH Severity
Medium
Patch available
YES
Number of vulnerabilities 2
Exploitation vector Remote access
Highest impact Data manipulation

Breakdown by Severity

Medium 50% Low 50%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 2 vulnerabilities.


1) Cross-site scripting (CVE-ID: CVE-2026-73427)

CWE-ID: CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

CVSSv4: 2.1 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N]


The vulnerability allows a remote attacker to execute arbitrary JavaScript in the victim's browser.

The vulnerability exists due to cross-site scripting in the Level0InputController drag-and-drop handling when processing a crafted application/x-trix-document JSON payload dropped into the editor. A remote attacker can provide a draggable element containing a javascript: URI in the href attribute to execute arbitrary JavaScript in the victim's browser.

User interaction is required to drag and drop attacker-controlled content into the editor, and exploitation only affects environments using the fallback Level0InputController.


2) Cross-site scripting (CVE-ID: CVE-2026-73428)

CWE-ID: CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

CVSSv4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N]


The vulnerability allows a remote user to execute arbitrary JavaScript in another user's browser through stored cross-site scripting.

The vulnerability exists due to insufficient href validation in Trix's StringPiece.fromJSON when HTMLParser processes pasted HTML containing a mock <span> attachment with data-trix-attachment="{}", applying data-trix-attributes to a plain string piece. A remote user can supply crafted HTML containing a javascript: href to persist executable content in serialized output that executes when another user renders and clicks it.


Remediation

Install update from vendor's website.