CVE-2021-39178
mediumPriorität · verfolgen · 24EPSS 0.011 · 66. PerzentilEUUSEPSS · bewertet 2026-10-27
Next.js is a React framework. Versions of Next.js between 10.0.0 and 11.0.0 contain a cross-site scripting vulnerability. In order for an instance to be affected by the vulnerability, the `next.config.js` file must have `images.domains` array assigned and the image host assigned in `images.domains` must allow user-provided SVG. If the `next.config.js` file has `images.loader` assigned to something other than default or the instance is deployed on Vercel, the instance is not affected by the vulnerability. The vulnerability is patched in Next.js version 11.1.1.
cvss
Technischer Schweregrad, 0–10. Eine Zeile je Quelle.
Basiswert 0–10 · höher = schwerwiegender · Vektor überfahren zum Auflösen⚠ Quellen uneinig · medium–high · 4.3–7.5
schwächen
Die CWE-Schwächeklassen, zu denen dies gehört.
betroffene Produkte (3)
Betroffene Produkte und Versionsbereiche.
Advisories (1)
Hersteller- und Ökosystem-Meldungen dazu.
- GHSA-9gr3-7897-pp7mXSS in Image Optimization API for Next.js2021-09-01ghsa · osvUS
### 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)
auch bekannt als (3)
Weitere Namen und Kennungen dieser Entität.
quellen
Welche Quellen diesen Datensatz belegen und wann.
Referenzen (7)
Externe Belege — Patches, Meldungen, Analysen.
- https://github.com/vercel/next.js/releases/tag/v11.1.1cnnvd
- https://github.com/vercel/next.js/security/advisories/GHSA-9gr3-7897-pp7mcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2021-39178cnnvd
- https://github.com/vercel/next.js/releases/tag/v11.1.1enisa_euvd
- https://github.com/vercel/next.js/security/advisories/GHSA-9gr3-7897-pp7menisa_euvd
- https://github.com/vercel/next.js/releases/tag/v11.1.1PatchRelease NotesThird Party Advisorynvd
- https://github.com/vercel/next.js/security/advisories/GHSA-9gr3-7897-pp7mPatchThird Party Advisorynvd
Angreifer nutzen Schwachstellen wie diese gegen im Internet exponierte Dienste aus. Sehen Sie mit einem kostenlosen Passiv-Scan, was exponiert ist.
Kostenloser Scan