CVE-2025-55173 json
Next.js Content Injection Vulnerability for Image Optimization
published 2025-08-29 14 mo ago modified 2026-10-18 21 d ago also EUVD-2025-26244 , GHSA-xv57-4mr9-wg8v
- cvss
- 4.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 48%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-55173 updated cvss 4.3
nextjs: Next.js Content Injection Vulnerability for Image Optimization
-
Red Hat Enterprise Linux 7 firefox Red Hat Enterprise Linux 8 firefox, thunderbird Red Hat Enterprise Linux 9 firefox, dotnet7.0, dotnet-host, firefox-x11, thunderbird, dotnet-sdk-7.0, +9 more Red Hat Enterprise Linux 10 firefox, thunderbird Red Hat Trusted Artifact Signer rhtas/rekor-search-ui-rhel9 Red Hat streams for Apache Kafka 2 com.github.streamshub-consoleaffected: workaround, no fix available “Mitigation includes restricting images.domains and images.remotePatterns to trusted hosts only, avoiding permissive configurations, and monitoring logs for suspicious image fetches.”
+1 more productsfewer
Red Hat streams for Apache Kafka 3 com.github.streamshub-console
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 14 mo ago
Exploit prediction
0.60% chance of exploitation in the next 30 days, higher than 48% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N |
| GitHub | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | next | >=0.9.9, <14.2.31 >=15.0.0, <15.4.5 |
14.2.31 15.4.5 |
Affected products
- vercel next.js
Classification
- Weakness
-
- CWE-20 Improper Input Validation
- Technology feeds
References
-
github.com
/vercel/next.js/commit/6b12c60c61ee80cb0443ccd20de82ca9b4422ddd
web, patch
-
github.com
/vercel/next.js/security/advisories/GHSA-xv57-4mr9-wg8v
web, vendor-advisory, advisory
-
vercel.com
/changelog/cve-2025-55173
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2025-55173
advisory
-
github.com
/vercel/next.js
package
-
vercel.com
/changelog/cve-2025-55173
web
Sources
- CVE List CVE-2025-55173
- GitHub Advisory GHSA-xv57-4mr9-wg8v
- NVD CVE-2025-55173
- Maintainer advisory GHSA-xv57-4mr9-wg8v
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of vercel/next.js published their own advisory on GitHub. Reviewed sources take precedence over it.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.