GHSA-cjq9-62q9-8jv4

Suggest an improvement
Source
https://github.com/advisories/GHSA-cjq9-62q9-8jv4
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-cjq9-62q9-8jv4/GHSA-cjq9-62q9-8jv4.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-cjq9-62q9-8jv4
Aliases
Published
2026-10-07T20:30:55Z
Modified
2026-10-07T20:45:06Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N CVSS Calculator
  • 8.3 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
Next.js has Server-Side Request Forgery in Image Optimization
Details

Impact

An attacker-controlled, allow-listed remote URL can lead to server-side request forgery (e.g. to private IPs) during Image Optimization.

Workaround

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.

Database specific
{
    "cwe_ids": [
        "CWE-918"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-10-07T20:30:55Z",
    "nvd_published_at": "2026-10-02T16:16:51Z",
    "severity": "HIGH"
}
References

Affected packages

npm / next

Package

Affected ranges

Type
SEMVER
Events
Introduced
16.0.0
Fixed
16.3.8

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-cjq9-62q9-8jv4/GHSA-cjq9-62q9-8jv4.json"