next
Affected
- introduced
0.9.9, fixed14.2.31(semver)
Fixed versions
14.2.31
Fix
- Fixed version
14.2.31npm install [email protected]
Advisory
Also known as: CVE-2025-55173
Next.js Content Injection Vulnerability for Image Optimization
A vulnerability in Next.js Image Optimization has been fixed in v15.4.5 and v14.2.31. 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.
All users relying on images.domains or images.remotePatterns are encouraged to upgrade and verify that external image sources are strictly validated.
More details at Vercel Changelog
Medium Basis: The source's own band: MODERATE
0.9.9, fixed 14.2.31 (semver)14.2.31
14.2.31npm install [email protected]15.0.0, fixed 15.4.5 (semver)15.4.5
15.4.5npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0