From 790b28ae844b53373ff9349378f0845c224a03a9 Mon Sep 17 00:00:00 2001 From: "advisory-database[bot]" <45398580+advisory-database[bot]@users.noreply.github.com> Date: Wed, 28 May 2025 21:53:25 +0000 Subject: [PATCH] Publish GHSA-3h52-269p-cp9r --- .../GHSA-3h52-269p-cp9r.json | 57 +++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 advisories/github-reviewed/2025/05/GHSA-3h52-269p-cp9r/GHSA-3h52-269p-cp9r.json diff --git a/advisories/github-reviewed/2025/05/GHSA-3h52-269p-cp9r/GHSA-3h52-269p-cp9r.json b/advisories/github-reviewed/2025/05/GHSA-3h52-269p-cp9r/GHSA-3h52-269p-cp9r.json new file mode 100644 index 00000000000..8e912a29681 --- /dev/null +++ b/advisories/github-reviewed/2025/05/GHSA-3h52-269p-cp9r/GHSA-3h52-269p-cp9r.json @@ -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 + } +} \ No newline at end of file