CVE-2025-55173
nextjs: Next.js Content Injection Vulnerability for Image Optimization
Overview
Description
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.
Source: OX vulnerability database
Severity
4.3 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Weakness: CWE-20
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| npm | next | >=0.9.9, <14.2.31>=15.0.0, <15.4.5 | 14.2.3115.4.5 |
Open a package to see all its vulnerabilities.
Operating systems · 6 fixes
Red Hat 3 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | firefox | affected |
| 8 | firefox +1 | affected |
| 9 | aspnetcore-runtime-7-0 +14 | affected |
chainguard 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| jitsucom-jitsu | 2.11.0-r1 |
minimos 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| trigger-dev | 4.5.0-r0 |
wolfi 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| jitsucom-jitsu | 2.11.0-r1 |
References
- vercel.com http://vercel.com/changelog/cve-2025-55173
- access.redhat.com https://access.redhat.com/security/cve/CVE-2025-55173
- github.com https://github.com/vercel/next.js
- github.com https://github.com/vercel/next.js/commit/6b12c60c61ee80cb0443ccd20de82ca9b4422ddd
- github.com https://github.com/vercel/next.js/security/advisories/GHSA-xv57-4mr9-wg8v
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2025-55173
- vercel.com https://vercel.com/changelog/cve-2025-55173
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2025-55173
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.