Skip to main content
← All vulnerabilities
CVE-2025-55173GHSA-XV57-4MR9-WG8V

Next.js Content Injection Vulnerability for Image Optimization

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 15.4.5, 14.2.31
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • vercel next.js

    From 15.0.0 · fixed in 15.4.5; fixed in 14.2.31

  • nextnpm

    From 0.9.9 · fixed in 14.2.31

  • nextnpm

    From 15.0.0 · fixed in 15.4.5

References 3

GitHub · vercel/next.js

vercel.com