{"id":"EUVD-2021-2024","enisaUuid":"03d6db10-b8a7-3e10-85d9-193048aa7ac8","description":"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.","datePublished":"Aug 30, 2021, 11:55:09 PM","dateUpdated":"Aug 4, 2024, 1:58:18 AM","baseScore":7.5,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","references":"https://github.com/vercel/next.js/security/advisories/GHSA-9gr3-7897-pp7m\nhttps://github.com/vercel/next.js/releases/tag/v11.1.1\n","aliases":"CVE-2021-39178\nGHSA-9gr3-7897-pp7m\n","assigner":"GitHub_M","epss":1.14,"enisaIdProduct":[{"id":"25d5dfd0-7587-3791-afe4-c101ce3643ef","product":{"name":"next.js","vendor":{"name":"vercel"}},"product_version":"10.0.0, \u003c 11.1.1"}],"enisaIdVendor":[{"id":"7704765b-785f-3492-9220-c00b64748632","vendor":{"name":"vercel"}}],"enisaIdVulnerability":[{"id":"11566be4-7412-3c3f-9c0e-0ae0907f3338","vulnerability":{"id":"CVE-2021-39178","description":"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.","datePublished":"Aug 30, 2021, 11:55:09 PM","dateUpdated":"Aug 4, 2024, 1:58:18 AM","status":"PUBLISHED","baseScore":7.5,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","references":"https://github.com/vercel/next.js/security/advisories/GHSA-9gr3-7897-pp7m\nhttps://github.com/vercel/next.js/releases/tag/v11.1.1\n","enisa_id":"EUVD-2021-2024\n","assigner":"GitHub_M","epss":1.14,"dataProcessed":"Nov 22, 2026, 7:24:45 AM","vulnerabilityProduct":[{"id":"cc001ad0-7a63-322d-b4e5-dd4ff3a18a47","product":{"name":"next.js","vendor":{"name":"vercel"}},"product_version":"10.0.0, \u003c 11.1.1"}],"vulnerabilityVendor":[{"id":"54463dae-09a9-3776-a016-bedf2890af5d","vendor":{"name":"vercel"}}]}},{"id":"a8180ee1-de02-33a4-8797-da2a4df244cb","vulnerability":{"id":"GHSA-9gr3-7897-pp7m","description":"XSS in Image Optimization API for Next.js","datePublished":"Sep 1, 2021, 6:24:22 PM","dateUpdated":"Aug 31, 2021, 8:01:51 PM","baseScore":null,"references":"https://github.com/vercel/next.js/security/advisories/GHSA-9gr3-7897-pp7m\nhttps://nvd.nist.gov/vuln/detail/CVE-2021-39178\nhttps://github.com/vercel/next.js/pull/28620\nhttps://github.com/vercel/next.js/commit/7afc97c5744b38bdf36aa7f87625f438224688aa\nhttps://github.com/vercel/next.js\nhttps://github.com/vercel/next.js/releases/tag/v11.1.1\n","enisa_id":"EUVD-2021-2024\n","aliases":"GHSA-9gr3-7897-pp7m\nCVE-2021-39178\n","epss":0.0,"dataProcessed":"Nov 22, 2026, 2:06:15 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}}],"enisaIdAdvisory":[]}