Publish GHSA-3h52-269p-cp9r

This commit is contained in:
advisory-database[bot]
2025-05-28 21:53:25 +00:00
parent 282912058d
commit 790b28ae84
@@ -0,0 +1,57 @@
{
"schema_version": "1.4.0",
"id": "GHSA-3h52-269p-cp9r",
"modified": "2025-05-28T21:52:13Z",
"published": "2025-05-28T21:52:13Z",
"aliases": [
"CVE-2025-48068"
],
"summary": "Information exposure in Next.js dev server due to lack of origin verification",
"details": "### Summary\nThis vulnerability is similar to CVE-2018-14732. When running a Next.js server locally (e.g. through `npm run dev`), the WebSocket server is vulnerable to the Cross-site WebSocket hijacking (CSWSH) attack. and a bad actor can access the source code of client components, if a user was to visit a malicious link while having the Next.js dev server running.\n\n### Impact\nIf a user is running a Next.js server locally (e.g. `npm run dev`), and they were to browse to a malicious website, the malicious website may be able to access the source code of the Next.js app. This vulnerability only affects applications making use of App Router.\n\n_Note: App Router was experimental requiring_ `experimental.appDir = true` _in versions_ `>=13.0.0` to `<13.4`.",
"severity": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N"
}
],
"affected": [
{
"package": {
"ecosystem": "npm",
"name": "next"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "13.0"
},
{
"fixed": "15.2.2"
}
]
}
]
}
],
"references": [
{
"type": "WEB",
"url": "https://github.com/vercel/next.js/security/advisories/GHSA-3h52-269p-cp9r"
},
{
"type": "PACKAGE",
"url": "https://github.com/vercel/next.js"
}
],
"database_specific": {
"cwe_ids": [
"CWE-1385"
],
"severity": "LOW",
"github_reviewed": true,
"github_reviewed_at": "2025-05-28T21:52:13Z",
"nvd_published_at": null
}
}