CVE-2025-55173Next.js Content Injection Vulnerability for Image Optimization
A medium-severity vulnerability reachable over the network, needing no privileges and user interaction. EPSS estimates a 0.7% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 0.7%
- percentile 50%
- Fix
- Named by a source
- CVE published 29 Aug 2025
Reference
None of the "Needs attention" rules apply right now.
EPSS 0.7% (+1) · Network attack vector (+10) · No privileges required (+5)
Immediate actions
- next (npm): upgrade to 14.2.31 / 15.4.5 or later on your release line.
- Patch: https://github.com/vercel/next.js/commit/6b12c60c61ee80cb0443ccd20de82ca9b4422ddd
- Advisory: https://github.com/vercel/next.js/security/advisories/GHSA-xv57-4mr9-wg8v
- Advisory: https://vercel.com/changelog/cve-2025-55173
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2025-55173
Who should check
next (npm) pkg:npm/next
- Affected>= 0.9.9, < 14.2.31Fixed in14.2.31OSV (GHSA-xv57-4mr9-wg8v)
- Affected>= 15.0.0, < 15.4.5Fixed in15.4.5OSV (GHSA-xv57-4mr9-wg8v)
vercel next.js product:vercel/nextjs
- Affected>= 15.0.0, < 15.4.5Affected range ends before15.4.5as published by CNA (CVE List)
- Affected< 14.2.31Affected range ends before14.2.31as published by CNA (CVE List)
- Affected< 14.2.31Affected range ends before14.2.31as published by CPE data (via the NVD API)
- Affected>= 15.0.0, < 15.4.5Affected range ends before15.4.5as published by CPE data (via the NVD API)
Products (not packages) are shown as their sources publish them. We check no product version against these ranges; a fixed version is the one the source names. Ask the vendor's advisory.
Confirmed facts
- CVSS
- 4.3 MEDIUM (version 3.1)
- Score from
- CNA ([email protected])
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- required
- Weakness
- CWE-20
- Exploitation (CISA SSVC)
- none
- Automatable (CISA SSVC)
- no
- Assigned by
- [email protected]
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)Next.js is a React framework for building full-stack web applications. In versions before 14.2.31 and from 15.0.0 to before 15.4.5, Next.js Image Optimization is vulnerable to content injection. The issue allowed attacker-controlled external image sources to trigger file downloads with arbitrary content and filenames under specific configurations. This behavior could be abused for phishing or malicious file delivery. This vulnerability has been fixed in Next.js versions 14.2.31 and 15.4.5.
Update history
- 29 Aug 2025Published
References
- patchhttps://github.com/vercel/next.js/commit/6b12c60c61ee80cb0443ccd20de82ca9b4422ddd
- advisoryhttps://github.com/vercel/next.js/security/advisories/GHSA-xv57-4mr9-wg8v
- advisoryhttps://vercel.com/changelog/cve-2025-55173
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2025-55173
- otherhttps://github.com/vercel/next.js
- otherhttp://vercel.com/changelog/cve-2025-55173
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- CVE-2025-55173 (CVE List (CNA and CISA ADP data, through the NVD API)), CVE terms of use. Copyright The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation.
- NVD API 2.0 (NIST), the API we query, NVD API terms of use. This product uses the NVD API but is not endorsed or certified by the NVD.
- GHSA-xv57-4mr9-wg8v (GitHub Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 26 min ago · osv 26 min ago · nvd 87 min ago · epss 26 min ago · JSON · ask via MCP: explain_vulnerability
Also known as GHSA-xv57-4mr9-wg8v