SecurityContext

CVE-2026-73427: Trix - Stored XSS

  • Cve: CVE-2026-73427
  • Name: Trix - Stored XSS
  • Description: Trix is a what-you-see-is-what-you-get rich text editor for everyday writing. Prior to 2.1.18, Trix is vulnerable to cross-site scripting when a crafted application/x-trix-document JSON payload is dropped into an editor using the fallback Level0InputController, such as an embedded WebView without Input Events Level 2 support. The StringPiece.fromJSON method trusts href attributes from the JSON payload without sanitization, allowing a draggable element containing a javascript: URI to bypass DOMPurify sanitization and inject executable JavaScript into the DOM. Exploitation requires the victim to drag and drop attacker-controlled content, and server-side HTML sanitization can neutralize the payload on save. This issue is fixed in version 2.1.18.
  • Impact: Attackers can execute arbitrary JavaScript in victim's browser, leading to session hijacking or other malicious actions.
  • Remediation: Update to version 2.1.18 or later.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Victim must drag and drop attacker-controlled content
  • Labels source: projectdiscovery
  • Severity: low
  • Cvss score: 2.1
  • Cvss vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Epss score: 0.00575
  • Epss percentile: 0.48117
  • Assignee: [email protected]
  • Published at: 2026-08-12T21:17:41Z
  • Age in days: 104
  • Modified at: 2026-10-24T15:10:00Z
  • References total: 4
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-73427
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/basecamp/trix/commit/9c0a993d9fc2ffe9d56b013b030bc238f9c0557c
https://github.com/basecamp/trix/pull/1293
https://github.com/basecamp/trix/releases/tag/v2.1.18
https://github.com/basecamp/trix/security/advisories/GHSA-53p3-c7vp-4mcc

Projects

RepositoryLink kindsIndexedUrl
basecamp/trixcommit, fix, package, pull, releases, security_advisoryyes/v1/repositories/basecamp/trix

Index

  • Repositories: 12
  • Repositories high signal: 8
  • Packages: 2

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts