Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. next
  4. ›
  5. GHSA-w37m-7fhw-fmv9

GHSA-w37m-7fhw-fmv9: Next Server Actions Source Code Exposure

December 11, 2025

A vulnerability affects certain React packages for versions 19.0.0, 19.0.1, 19.1.0, 19.1.1, 19.1.2, 19.2.0, and 19.2.1 and frameworks that use the affected packages, including Next.js 15.x and 16.x using the App Router. The issue is tracked upstream as CVE-2025-55183.

A malicious HTTP request can be crafted and sent to any App Router endpoint that can return the compiled source code of Server Functions. This could reveal business logic, but would not expose secrets unless they were hardcoded directly into Server Function code.

References

  • github.com/advisories/GHSA-w37m-7fhw-fmv9
  • github.com/vercel/next.js
  • github.com/vercel/next.js/security/advisories/GHSA-w37m-7fhw-fmv9
  • nextjs.org/blog/security-update-2025-12-11
  • www.cve.org/CVERecord?id=CVE-2025-55183

Code Behaviors & Features

Detect and mitigate GHSA-w37m-7fhw-fmv9 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 15.0.0-canary.0 before 15.0.6, all versions starting from 15.1.1-canary.0 before 15.1.10, all versions starting from 15.2.0-canary.0 before 15.2.7, all versions starting from 15.3.0-canary.0 before 15.3.7, all versions starting from 15.4.0-canary.0 before 15.4.9, all versions starting from 15.5.1-canary.0 before 15.5.8, all versions starting from 15.6.0-canary.0 before 15.6.0-canary.59, all versions starting from 16.0.0-beta.0 before 16.0.9, all versions starting from 16.1.0-canary.0 before 16.1.0-canary.17

Fixed versions

  • 15.0.6
  • 15.1.10
  • 15.2.7
  • 15.3.7
  • 15.4.9
  • 15.5.8
  • 15.6.0-canary.59
  • 16.0.9
  • 16.1.0-canary.17

Solution

Upgrade to versions 15.0.6, 15.1.10, 15.2.7, 15.3.7, 15.4.9, 15.5.8, 15.6.0-canary.59, 16.0.9, 16.1.0-canary.17 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-1395: Dependency on Vulnerable Third-Party Component
  • CWE-497: Exposure of Sensitive System Information to an Unauthorized Control Sphere
  • CWE-502: Deserialization of Untrusted Data

Source file

npm/next/GHSA-w37m-7fhw-fmv9.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 14 Dec 2025 00:19:53 +0000.