# CVE-2025-55173: Next.js Content Injection Vulnerability for Image Optimization

- Severity: Medium 4.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.70%, higher than 54% of CVEs (2026-12-01)
- Published: 2025-08-29T21:59:55.000Z
- Modified: 2026-10-18T21:10:00.120Z
- Also known as: GHSA-xv57-4mr9-wg8v
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- vercel next.js: >= 15.0.0, < 15.4.5; < 14.2.31; before 14.2.31; from 15.0.0 before 15.4.5
- next (npm): from 0.9.9 before 14.2.31; from 15.0.0 before 15.4.5

## Every score

- GitHub_M: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`
- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`

## References

- <https://github.com/vercel/next.js/security/advisories/GHSA-xv57-4mr9-wg8v> (vendor-advisory, web)
- <https://github.com/vercel/next.js/commit/6b12c60c61ee80cb0443ccd20de82ca9b4422ddd> (patch, web)
- <https://vercel.com/changelog/cve-2025-55173> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-55173> (advisory)
- <https://github.com/vercel/next.js> (package)
- <http://vercel.com/changelog/cve-2025-55173> (web)

## Sources

- CVE List: [CVE-2025-55173](https://www.cve.org/CVERecord?id=CVE-2025-55173), CVE Terms of Use, modified 2025-09-02
- GitHub Advisory Database: [GHSA-xv57-4mr9-wg8v](https://github.com/advisories/GHSA-xv57-4mr9-wg8v), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-55173](https://nvd.nist.gov/vuln/detail/CVE-2025-55173), Public domain, modified 2026-10-18

---

Page: https://cve.day/CVE-2025-55173 · Whole record: https://cve.day/CVE-2025-55173.json · Rebuilt by cve.day 2026-11-25T22:59:03.908Z
