cve.bz

CVE-2024-34341

5.4 mediumEPSS 0.8%

Medium (5.4). EPSS 0.8% chance of exploitation in the next 30 days. Fixed in trix 1.3.2, 2.1.1.

Trix is a rich text editor. The Trix editor, versions prior to 2.1.1, is vulnerable to arbitrary code execution when copying and pasting content from the web or other documents with markup into the editor. The vulnerability stems from improper sanitization of pasted content, allowing an attacker to embed malicious scripts which are executed within the context of the application. Users should upgrade to Trix editor version 2.1.1 or later, which incorporates proper sanitization of input from copied content.

Severity

CVSS 3.1

5.4 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
EPSS
0.8% chance of exploitation in the next 30 days; higher than 56% of CVEs (scores of 2026-10-31)
CWE
CWE-79
Published
Modified
Record from
the NVD, synced

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-qjqp-xr96-cj99npmtrix>=2.0.0 <2.1.12.1.1
GHSA-qjqp-xr96-cj99npmtrix>=0.9.0 <1.3.21.3.2
GHSA-qjqp-xr96-cj99RubyGemsactiontext>=7.0.0.alpha1 <7.0.8.37.0.8.3
GHSA-qjqp-xr96-cj99RubyGemsactiontext>=7.1.0.beta1 <7.1.3.37.1.3.3

References

Check your stackJSON