CVE-2021-39178

CVSS V2 Medium 4.3 CVSS V3 Medium 6.1
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.
Overview
  • CVE ID
  • CVE-2021-39178
  • Assigner
  • security-advisories@github.com
  • Vulnerability Status
  • Analyzed
  • Published Version
  • 2021-08-31T00:15:07
  • Last Modified Date
  • 2021-09-08T13:26:41
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:vercel:next.js:*:*:*:*:*:node.js:*:* 1 OR 10.0.0 11.1.1
CVSS Version 2
  • Version
  • 2.0
  • Vector String
  • AV:N/AC:M/Au:N/C:N/I:P/A:N
  • Access Vector
  • NETWORK
  • Access Compatibility
  • MEDIUM
  • Authentication
  • NONE
  • Confidentiality Impact
  • NONE
  • Integrity Impact
  • PARTIAL
  • Availability Impact
  • NONE
  • Base Score
  • 4.3
  • Severity
  • MEDIUM
  • Exploitability Score
  • 8.6
  • Impact Score
  • 2.9
CVSS Version 3
  • Version
  • 3.1
  • Vector String
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Attack Vector
  • NETWORK
  • Attack Compatibility
  • LOW
  • Privileges Required
  • NONE
  • User Interaction
  • REQUIRED
  • Scope
  • CHANGED
  • Confidentiality Impact
  • LOW
  • Availability Impact
  • NONE
  • Base Score
  • 6.1
  • Base Severity
  • MEDIUM
  • Exploitability Score
  • 2.8
  • Impact Score
  • 2.7
References
Reference URL Reference Tags
https://github.com/vercel/next.js/security/advisories/GHSA-9gr3-7897-pp7m Patch Third Party Advisory
https://github.com/vercel/next.js/releases/tag/v11.1.1 Patch Release Notes Third Party Advisory
History
Created Old Value New Value Data Type Notes
2022-05-10 16:07:44 Added to TrackCVE
2022-12-05 09:19:53 2021-08-31T00:15Z 2021-08-31T00:15:07 CVE Published Date updated
2022-12-05 09:19:53 2021-09-08T13:26:41 CVE Modified Date updated
2022-12-05 09:19:53 Analyzed Vulnerability Status updated