Vulnerability Information
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: XSS via JSON deserialization bypass in drag-and-drop (Level0InputController)
Vulnerability 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.
CVSS Information
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
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Vulnerability Title
37signals Trix 跨站脚本漏洞
Vulnerability Description
37signals Trix是37signals组织开源的一个适用于日常写作的丰富文本编辑器。 37signals Trix 2.1.18之前版本存在跨站脚本漏洞,该漏洞源于StringPiece.fromJSON方法信任JSON负载中的href属性而未进行清理,导致包含javascript: URI的可拖动元素可绕过DOMPurify清理并注入可执行JavaScript,造成跨站脚本攻击。
CVSS Information
N/A
Vulnerability Type
N/A