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

概要

A Server-Side Request Forgery (SSRF) vulnerability was discovered in Angular's Server-Side Rendering package (@angular/ssr) affecting versions before 19.2.18, 20.3.6, and 21.0.0-next.8. The vulnerability was disclosed on October 16, 2025, and assigned identifier CVE-2025-62427. The flaw exists within the URL resolution mechanism of the package, specifically in the createRequestUrl function (GitHub Advisory).

技術的な詳細

The vulnerability stems from the improper handling of URL construction in the createRequestUrl function. When an incoming request path begins with a double forward slash (//) or backslash (), the native URL constructor treats it as a schema-relative URL. This behavior bypasses the security-intended base URL (protocol, host, and port), allowing the URL to resolve against the scheme of the base URL while adopting an attacker-controlled hostname. The vulnerability has been assigned a CVSS v4.0 base score of 8.7 (High) with vector string CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N (GitHub Advisory).

影響

When exploited, this vulnerability allows an attacker to specify an external domain in the URL path, which tricks the Angular SSR environment into setting the page's virtual location to an attacker-controlled domain. As a result, any subsequent relative HTTP requests made during the SSR process (e.g., using HttpClient.get('assets/data.json')) will be incorrectly resolved against the attacker's domain, forcing the server to communicate with arbitrary external endpoints (GitHub Advisory).

軽減策と回避策

The vulnerability has been fixed in versions 19.2.18, 20.3.6, and 21.0.0-next.8. For users unable to upgrade immediately, a server-side middleware solution can be implemented to explicitly reject or sanitize requests where the path begins with a double slash. This can be done by implementing a middleware that replaces multiple leading slashes with a single slash before processing the request (GitHub Advisory).

関連情報


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

関連 JavaScript 脆弱 性:

CVE 識別子

重大度

スコア

テクノロジー

コンポーネント名

CISA KEV エクスプロイト

修正あり

公開日

GHSA-vffh-c9pq-4crhMEDIUM6.5
  • JavaScriptJavaScript
  • uptime-kuma
いいえいいえOct 20, 2025
CVE-2025-62522MEDIUM6
  • JavaScriptJavaScript
  • renovate
いいえはいOct 20, 2025
CVE-2025-62595MEDIUM4.3
  • JavaScriptJavaScript
  • koa
いいえはいOct 21, 2025
GHSA-xvp7-8vm8-xfxxMEDIUM4.2
  • JavaScriptJavaScript
  • @actual-app/sync-server
いいえいいえOct 20, 2025
CVE-2025-62505LOW3
  • JavaScriptJavaScript
  • @lobehub/chat
いいえはいOct 17, 2025

無料の脆弱性評価

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

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

評価を依頼する

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

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

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