VDB
Sign up
MEDIUM5.3

GHSA-w37m-7fhw-fmv9

Next Server Actions Source Code Exposure

Quick fix

GHSA-w37m-7fhw-fmv9 — next: upgrade to the fixed version with the command below.

npm install next@15.0.6

Details

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](https://www.cve.org/CVERecord?id=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](https://react.dev/reference/rsc/server-functions). This could reveal business logic, but would not expose secrets unless they were hardcoded directly into [Server Function](https://react.dev/reference/rsc/server-functions) code.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/next
Introduced in: 15.0.0-canary.0Fixed in: 15.0.6
Fixnpm install next@15.0.6
npm/next
Introduced in: 15.1.1-canary.0Fixed in: 15.1.10
Fixnpm install next@15.1.10
npm/next
Introduced in: 15.2.0-canary.0Fixed in: 15.2.7
Fixnpm install next@15.2.7
npm/next
Introduced in: 15.3.0-canary.0Fixed in: 15.3.7
Fixnpm install next@15.3.7
npm/next
Introduced in: 15.4.0-canary.0Fixed in: 15.4.9
Fixnpm install next@15.4.9
npm/next
Introduced in: 15.5.1-canary.0Fixed in: 15.5.8
Fixnpm install next@15.5.8
npm/next
Introduced in: 15.6.0-canary.0Fixed in: 15.6.0-canary.59
Fixnpm install next@15.6.0-canary.59
npm/next
Introduced in: 16.0.0-beta.0Fixed in: 16.0.9
Fixnpm install next@16.0.9
npm/next
Introduced in: 16.1.0-canary.0Fixed in: 16.1.0-canary.17
Fixnpm install next@16.1.0-canary.17

References