Feed
7.5HIGH

CVE-2021-39178XSS in Image Optimization API for Next.js

A high-severity vulnerability reachable over the network, needing no privileges and user interaction. EPSS estimates a 1.1% chance of exploitation in the next 30 days. A fixed version is named.

Exploited in the wild
Not in KEV
EPSS
1.1%
percentile 66%
Priority
25/100 medium
how it is computed
Fix
Named by a source
CVE published 31 Aug 2021

Reference

None of the "Needs attention" rules apply right now.

EPSS 1.1% (+1) · Network attack vector (+10) · No privileges required (+5) · CVSS 7.5: at least medium

Immediate actions

Who should check

  • next (npm) pkg:npm/next

    • Affected>= 10.0.0, < 11.1.1Fixed in11.1.1OSV (GHSA-9gr3-7897-pp7m)

Confirmed facts

CVSS
7.5 HIGH (version 3.1)
Score from
GitHub Advisory Database (GHSA-9gr3-7897-pp7m)
Attack vector
network
Attack complexity
high
Privileges required
none
User interaction
required
Weakness
CWE-79

Unknowns

  • We show one CVSS score. Other sources may score this CVE differently.

Advisory text

Quoted from the source advisory (untrusted)### Impact - **Affected:** All of the following must be true to be affected - Next.js between version 10.0.0 and 11.1.0 - The `next.config.js` file has [`images.domains`](https://nextjs.org/docs/basic-features/image-optimization#domains) array assigned - The image host assigned in [`images.domains`](https://nextjs.org/docs/basic-features/image-optimization#domains) allows user-provided SVG - **Not affected**: The `next.config.js` file has [`images.loader`](https://nextjs.org/docs/basic-features/image-optimization#loader) assigned to something other than default - **Not affected**: Deployments on [Vercel](https://vercel.com) are not affected ### Patches [Next.js v11.1.1](https://github.com/vercel/next.js/releases/tag/v11.1.1)

Update history

No events recorded. Our history starts on 1 Jan 2025.

References

Sources

This page is our own presentation: records are shortened, normalised and merged. Licences

Last checked: kev 18 min ago · osv 17 min ago · nvd 78 min ago · epss 17 min ago · JSON · ask via MCP: explain_vulnerability

Also known as GHSA-9gr3-7897-pp7m