| Package | Affected versions | Patched versions |
|---|---|---|
| next.js | ≥ 16.0.0, < 16.3.8 | 16.3.8 |
| next | ≥ 16.0.0, < 16.3.8 | 16.3.8 |
An attacker-controlled, allow-listed remote URL can lead to server-side request forgery (e.g. to private IPs) during Image Optimization.
Audit allow-listed remote URLs in images.remotePatterns (see https://nextjs.org/docs/app/getting-started/images#remote-images) for hosts that may not be trusted with their DNS entries. If no images.remotePatterns are configured, your app is not affected.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free