Intel

AIKIDO-2025-10937

next is vulnerable to Source Code Exposure

Source Code ExposureCVE-2025-55183 Published Dec 12, 2025

53

Medium Risk

This Affects:

JSnext
15.0.0 - 15.0.6
Fixed in 15.0.7
15.1.1 - 15.1.10
Fixed in 15.1.11
15.2.0 - 15.2.7
Fixed in 15.2.8
15.3.0 - 15.3.7
Fixed in 15.3.8
15.4.0 - 15.4.9
Fixed in 15.4.10
15.5.1 - 15.5.8
Fixed in 15.5.9
16.0.0 - 16.0.9
Fixed in 16.0.10
Are you affected? Scan for Free

TL;DR

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.

Who does this affect?

If your application uses the App Router

Background info

next is vulnerable to Source Code Exposure in versions 15.0.0 - 15.0.6, 15.1.1 - 15.1.10, 15.2.0 - 15.2.7, 15.3.0 - 15.3.7, 15.4.0 - 15.4.9, 15.5.1 - 15.5.8 and 16.0.0 - 16.0.9.

How to fix this

Upgrade Next to the patch version.