GitHub Advisoryadvisory · npm

GHSA-mcrw-746g-9q8h Trix vulnerable to Cross-site Scripting on copy & paste

LOW Published 2025-05-08 Modified 2025-05-08 Official page ↗
Aliases
CVE-2025-46812
Ecosystem
npm
Packages
trix
Severity
Low
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P
Weaknesses
CWE-79
Reviewed
2025-05-08

Affected packages

• npm trix: < 2.1.15 → fixed in 2.1.15

Description

Impact The Trix editor, in versions prior to 2.1.15, is vulnerable to XSS attacks when pasting malicious code. An attacker could trick a user to copy and paste malicious code that would 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.15 or later. References The XSS vulnerability was reported by HackerOne researcher hiumee.

Related

Alias · CVE (1)

  • CVE-2025-46812 Trix is a what-you-see-is-what-you-get rich text editor for everyday writing. vulnerability

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References