BreachSpiderVerified, not vibes

CVE-2022-23646 in Vercel Next.Js

High 7.5

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.domain...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.17.5
EPSS1.8%
EPSS percentile79th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Vercel Next.Js ≥ 10.0.0, < 12.1.0

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2022-23646
BreachSpider IDBS-2022-GLOBAL-313558-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Published2022-02-17
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-451: CWE-451

Related attack patterns (CAPEC)

CAPEC-163 Spear Phishing via CWE-451

CAPEC-164 Mobile Phishing via CWE-451

CAPEC-98 Phishing via CWE-451

CAPEC-154 Resource Location Spoofing via CWE-451

CAPEC-173 Action Spoofing via CWE-451

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

Next.js versions 10.0.0 to 11.1.4 are vulnerable to User Interface (UI) Misrepresentation of Critical Information due to improper handling of SVG images from user-provided domains.

An attacker can exploit this vulnerability by hosting a malicious SVG file on a domain that is whitelisted in the `images.domains` array of the `next.config.js` file. When the application loads this SVG, it can execute arbitrary code in the context of the user's browser, leading to potential security issues such as Cross-Site Scripting (XSS).

Questions

What is CVE-2022-23646?

Next.js versions 10.0.0 to 11.1.4 are vulnerable to User Interface (UI) Misrepresentation of Critical Information due to improper handling of SVG images from user-provided domains.

What is the CVSS score for CVE-2022-23646?

CVE-2022-23646 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N. EPSS: 1.8%.

Is CVE-2022-23646 actively exploited?

No confirmed active exploitation of CVE-2022-23646 as of 2026-09-25.

How do I remediate CVE-2022-23646?

Priority: HIGH.

What systems are affected by CVE-2022-23646?

CVE-2022-23646 affects Vercel Next.Js.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Vercel","product":"Next.Js","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.