CVE-2025-55173 MEDIUM

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

Vendor Vercel
Product next.js
Weakness CWE-20 · Input validation
Published August 29, 2025
Last update September 2, 2025

CVSS base score

4.3/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction Required
Confidentiality None
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

August 29, 2025 CVE published
September 2, 2025 Record updated