CVE-2022-23646
CVE-2022-23646 is a medium-severity vulnerability in Vercel Next.js with a CVSS 3.x base score of 5.9. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-451.
Key facts
- Severity: Medium (CVSS 3.x base score 5.9)
- CVSS v2: 4.3
- EPSS exploit prediction: 2% (75th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-451
- Affected product: Vercel Next.js
- Published:
- Last modified:
Description
Next.js is a React framework. Starting with version 10.0.0 and prior to version 12.1.0, Next.js is vulnerable to User Interface (UI) Misrepresentation of Critical Information. In order to be affected, the `next.config.js` file must have an `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, the instance is not affected. Version 12.1.0 contains a patch for this issue. As a workaround, change `next.config.js` to use a different `loader configuration` other than the default.
Frequently asked questions
- What is CVE-2022-23646?
- Next.js is a React framework. Starting with version 10.0.0 and prior to version 12.1.0, Next.js is vulnerable to User Interface (UI) Misrepresentation of Critical Information. In order to be affected, the `next.config.js` file must have an `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, the instance is not affected. Version 12.1.0 contains a patch for this issue. As a workaround, change `next.config.js` to use a different `loader configuration` other than the default.
- How severe is CVE-2022-23646?
- CVE-2022-23646 has a CVSS 3.x base score of 5.9, rated medium severity. It is exploitable over network with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity high, and availability none.
- Is CVE-2022-23646 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (75th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2022-23646?
- CVE-2022-23646 affects Vercel Next.js. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2022-23646?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2022-23646 published?
- CVE-2022-23646 was published on 2022-02-17 and last updated on 2026-06-17.
References
- https://github.com/vercel/next.js/pull/34075
- https://github.com/vercel/next.js/releases/tag/v12.1.0
- https://github.com/vercel/next.js/security/advisories/GHSA-fmvm-x8mv-47mj
Affected products (1)
- cpe:2.3:a:vercel:next.js:*:*:*:*:*:node.js:*:*
More vulnerabilities in Vercel Next.js
- CVE-2025-55182 — Critical (CVSS 10.0): A pre-authentication remote code execution vulnerability exists in React Server Components versions 19.0.0, 19.1.0,…
- CVE-2025-29927 — Critical (CVSS 9.1): Next.js is a React framework for building full-stack web applications. Starting in version 1.11.4 and prior to versions…
- CVE-2026-44578 — High (CVSS 8.6): Next.js is a React framework for building full-stack web applications. From 13.4.13 to before 15.5.16 and 16.2.5,…
- CVE-2026-44574 — High (CVSS 8.1): Next.js is a React framework for building full-stack web applications. From 15.4.0 to before 15.5.16 and 16.2.5,…
- CVE-2026-45109 — High (CVSS 7.5): Next.js is a React framework for building full-stack web applications. From 15.2.0 to before 15.5.18 and 16.2.6, it was…
- CVE-2026-44579 — High (CVSS 7.5): Next.js is a React framework for building full-stack web applications. From to before 15.5.16 and 16.2.5, applications…
All CVEs affecting Vercel Next.js →
Other CWE-451 vulnerabilities
- CVE-2026-2634 — Critical (CVSS 9.8): Malicious scripts could cause desynchronization between the address bar and web content before a response is received…
- CVE-2026-0907 — Critical (CVSS 9.8): Incorrect security UI in Split View in Google Chrome prior to 144.0.7559.59 allowed a remote attacker to perform UI…
- CVE-2026-0906 — Critical (CVSS 9.8): Incorrect security UI in Google Chrome on Android prior to 144.0.7559.59 allowed a remote attacker to spoof the…
- CVE-2025-8043 — Critical (CVSS 9.8): Focus incorrectly truncated URLs towards the beginning instead of around the origin. This vulnerability was fixed in…
- CVE-2026-11175 — High (CVSS 8.8): Incorrect security UI in Messages in Google Chrome on Android prior to 149.0.7827.53 allowed a remote attacker to…
- CVE-2026-11172 — High (CVSS 8.8): Incorrect security UI in Contact Picker in Google Chrome on Android prior to 149.0.7827.53 allowed a remote attacker to…