CVE-2025-58177
JavaScript 脆弱性の分析と軽減

概要

A stored cross-site scripting (XSS) vulnerability was identified in n8n, an open source workflow automation platform, affecting versions 1.24.0 to before 1.107.0. The vulnerability (CVE-2025-58177) exists in the @n8n/n8n-nodes-langchain.chatTrigger component, where an authorized user could configure the LangChain Chat Trigger node with malicious JavaScript in the initialMessages field and enable public access (GitHub Advisory).

技術的な詳細

The vulnerability stems from insufficient sanitization of the initialMessages parameter in the ChatTrigger.webhook method. When a malicious payload is injected into the initialMessages field, it gets embedded into a JavaScript configuration object within the generated HTML page through the createPage function. The CVSS v3.1 base score is 5.4 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N, indicating network accessibility, low attack complexity, and required user interaction (NVD).

影響

When exploited, the vulnerability allows the payload to be executed in the browser of any user who visits the resulting public chat URL. This can be leveraged for phishing attacks or to steal cookies and other sensitive data from users accessing the public chat link (GitHub Advisory).

軽減策と回避策

The vulnerability has been patched in version 1.107.0 of n8n. Users are recommended to upgrade to version 1.107.0 or later. As a temporary workaround, users can disable the affected chatTrigger node. The fix includes implementing comprehensive sanitization using the sanitize-html library and removing dangerous protocols like javascript:, data:, and vbscript: (GitHub PR).

関連情報


ソースこのレポートは AI を使用して生成されました

関連 JavaScript 脆弱 性:

CVE 識別子

重大度

スコア

テクノロジー

コンポーネント名

CISA KEV エクスプロイト

修正あり

公開日

CVE-2025-68665HIGH8.6
  • JavaScriptJavaScript
  • langchain
いいえはいDec 23, 2025
CVE-2025-68475HIGH7.5
  • JavaScriptJavaScript
  • @fedify/fedify
いいえはいDec 22, 2025
CVE-2025-68278HIGH7.3
  • JavaScriptJavaScript
  • @tinacms/cli
いいえはいDec 18, 2025
GHSA-24v3-254g-jv85LOW2.1
  • JavaScriptJavaScript
  • @tutao/tutanota-utils
いいえはいDec 19, 2025
CVE-2025-68457LOW1.7
  • JavaScriptJavaScript
  • orejime
いいえはいDec 19, 2025

無料の脆弱性評価

クラウドセキュリティポスチャーのベンチマーク

9つのセキュリティドメインにわたるクラウドセキュリティプラクティスを評価して、リスクレベルをベンチマークし、防御のギャップを特定します。

評価を依頼する

パーソナライズされたデモを見る

実際に Wiz を見てみませんか?​

"私が今まで見た中で最高のユーザーエクスペリエンスは、クラウドワークロードを完全に可視化します。"
デビッド・エストリックCISO (最高情報責任者)
"Wiz を使えば、クラウド環境で何が起こっているかを 1 つの画面で確認することができます"
アダム・フレッチャーチーフ・セキュリティ・オフィサー
"Wizが何かを重要視した場合、それは実際に重要であることを私たちは知っています。"
グレッグ・ポニャトフスキ脅威および脆弱性管理責任者