Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-21610— Trix allows Cross-site Scripting via `javascript:` url in a link

Quick assessment

Affected
basecamp trix
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Trix是Basecamp开源的一个适用于日常写作的丰富文本编辑器。 Trix 2.1.12之前版本存在跨站脚本漏洞,该漏洞源于在链接字段中粘贴恶意代码时会导致跨站脚本攻击。

CVSS 5.3 · Medium EPSS 0.42% · P34
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-21610

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Trix allows Cross-site Scripting via `javascript:` url in a link
Source: CVE Program / CVE List V5
Vulnerability Description
Trix is a what-you-see-is-what-you-get rich text editor for everyday writing. Versions prior to 2.1.12 are vulnerable to cross-site scripting when pasting malicious code in the link field. An attacker could trick the user to copy&paste a malicious `javascript:` URL as a link 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. Users should upgrade to Trix editor version 2.1.12 or later to receive a patch. In addition to upgrading, affected users can disallow browsers that don't support a Content Security Policy (CSP) as a workaround for this and other cross-site scripting vulnerabilities. Set CSP policies such as script-src 'self' to ensure that only scripts hosted on the same origin are executed, and explicitly prohibit inline scripts using script-src-elem.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5
Vulnerability Title
Trix 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Trix是Basecamp开源的一个适用于日常写作的丰富文本编辑器。 Trix 2.1.12之前版本存在跨站脚本漏洞,该漏洞源于在链接字段中粘贴恶意代码时会导致跨站脚本攻击。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
basecamp trix < 2.1.12 -

II. Public POCs for CVE-2025-21610

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-21610

请登录查看更多情报信息。

Patches & Fixes for CVE-2025-21610 (2)

Vendor Advisories for CVE-2025-21610 (1)

Proof of Concept for CVE-2025-21610 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2025-21610

No comments yet


Leave a comment