{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-39178","published":"2021-08-31T00:15:07.203000Z","last_modified":"2026-06-17T04:03:15.377000Z","status":"Modified","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:vercel:next.js:*:*:*:*:*:node.js:*:*","part":"a","vendor":"vercel","product":"next.js","version_start_including":"10.0.0","version_end_excluding":"11.1.1"}],"cpes_truncated":false,"vendors":["vercel"],"products":["vercel/next.js"],"epss":{"score":0.01139,"percentile":0.66382,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-9gr3-7897-pp7m","ecosystem":"npm","name":"next","purl":"pkg:npm/next","ranges":[{"introduced":"10.0.0","fixed":"11.1.1"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2021-39178/","html_en":"/en/cve/CVE-2021-39178/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-39178","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-39178"},"untrusted":{"vendor_name":"Vercel","product_name":"Next.js","desc_en":"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.","affected":[{"untrusted_vendor":"vercel","untrusted_product":"next.js","versions":[]}],"references":[{"url":"https://github.com/vercel/next.js/releases/tag/v11.1.1","tags":["Patch","Release Notes","Third Party Advisory"]},{"url":"https://github.com/vercel/next.js/security/advisories/GHSA-9gr3-7897-pp7m","tags":["Patch","Third Party Advisory"]}]}}