English version →
カテゴリ
CVE-2025-48068

Information exposure in Next.js dev server due to lack of origin verification

概要

Information exposure in Next.js dev server due to lack of origin verification

原文の説明

取得元が公開している説明をそのまま載せています (多くは英語)。

Summary

A low-severity vulnerability in Next.js has been fixed in version 15.2.2. This issue may have allowed limited source code exposure when the dev server was running with the App Router enabled. The vulnerability only affects local development environments and requires the user to visit a malicious webpage while npm run dev is active.

Because the mitigation is potentially a breaking change for some development setups, to opt-in to the fix, you must configure allowedDevOrigins in your next config after upgrading to a patched version. Learn more.

Learn more: https://vercel.com/changelog/cve-2025-48068

Credit

Thanks to sapphi-red and Radman Siddiki for responsibly disclosing this issue.

出典: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV

影響パッケージ

npm next
[{"type":"ECOSYSTEM","events":[{"introduced":"13.0"},{"fixed":"14.2.30"}]}]

参照URL

当サイトでは、アクセス解析と広告の効果測定のために Cookie を使います。株式会社Game のサイト共通の設定です。 詳しく