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%
- 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
- next (npm): upgrade to 11.1.1 or later on your release line.
- Commit / pull request: https://github.com/vercel/next.js/pull/28620
- Commit / pull request: https://github.com/vercel/next.js/commit/7afc97c5744b38bdf36aa7f87625f438224688aa
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
- otherhttps://github.com/vercel/next.js/security/advisories/GHSA-9gr3-7897-pp7m
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2021-39178
- commit / pull requesthttps://github.com/vercel/next.js/pull/28620
- commit / pull requesthttps://github.com/vercel/next.js/commit/7afc97c5744b38bdf36aa7f87625f438224688aa
- otherhttps://github.com/vercel/next.js
- otherhttps://github.com/vercel/next.js/releases/tag/v11.1.1
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- GHSA-9gr3-7897-pp7m (GitHub Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
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