CVEMETERBack to radar
OFFICIAL RECORD · JavaScript packages

CVE-2022-23646

PUBLISHEDOfficial status check: verifiedCVSS 3.1: 5.9 · medium

Improper CSP in Image Optimization API for Next.js

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.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 1.795% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:25:55.090Z. Public exploit availability is not used to set this status.

CVSS 3.1 · 5.9 · published by GitHub_M
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Assessment source · checked 2026-11-19T12:56:23.996Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T16:25:55.090ZCISA KEV
cvssverified2026-11-19T12:56:23.996ZCVE Program
epssverified2026-11-19T16:04:32.877ZFIRST EPSS
patchesverified2026-11-19T12:51:57.337ZOSV
affectedverified2026-11-19T12:56:23.996ZCVE Program
lifecycleverified2026-11-19T12:56:23.996ZCVE Program

Affected versions and configuration

vercel next.js; default status: unknown: >= 10.0.0, < 12.1.0 [affected; scheme: unspecified]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "vendor": "vercel",
      "product": "next.js",
      "versions": [
        {
          "status": "affected",
          "version": ">= 10.0.0, < 12.1.0"
        }
      ]
    }
  ],
  "additionalContainers": [
    {
      "title": "CVE Program Container",
      "references": [
        {
          "url": "https://github.com/vercel/next.js/security/advisories/GHSA-fmvm-x8mv-47mj",
          "tags": [
            "x_refsource_CONFIRM",
            "x_transferred"
          ]
        },
        {
          "url": "https://github.com/vercel/next.js/pull/34075",
          "tags": [
            "x_refsource_MISC",
            "x_transferred"
          ]
        },
        {
          "url": "https://github.com/vercel/next.js/releases/tag/v12.1.0",
          "tags": [
            "x_refsource_MISC",
            "x_transferred"
          ]
        }
      ],
      "providerMetadata": {
        "orgId": "af854a3a-2127-422b-91ae-364da2661108",
        "shortName": "CVE",
        "dateUpdated": "2024-08-03T03:51:45.557Z"
      }
    },
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2022-23646",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "no"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2025-04-23T14:10:23.654047Z"
            }
          }
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2025-04-23T19:02:50.028Z"
      }
    }
  ]
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "GHSA-fmvm-x8mv-47mj",
  "aliases": [
    "CVE-2022-23646"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "10.0.0"
            },
            {
              "fixed": "12.1.0"
            }
          ]
        }
      ],
      "package": {
        "name": "next",
        "purl": "pkg:npm/next",
        "ecosystem": "npm"
      },
      "versions": [],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-fmvm-x8mv-47mj/GHSA-fmvm-x8mv-47mj.json"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
    }
  ],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://github.com/vercel/next.js/security/advisories/GHSA-fmvm-x8mv-47mj",
      "type": "WEB"
    },
    {
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-23646",
      "type": "ADVISORY"
    },
    {
      "url": "https://github.com/vercel/next.js/pull/34075",
      "type": "WEB"
    },
    {
      "url": "https://github.com/vercel/next.js",
      "type": "PACKAGE"
    },
    {
      "url": "https://github.com/vercel/next.js/releases/tag/v12.1.0",
      "type": "WEB"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "cwe_ids": [
      "CWE-451"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "nvd_published_at": "2022-02-17T21:15:00Z",
    "github_reviewed_at": "2022-02-17T17:19:18Z"
  }
}
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundarynpm / packagenextNot a distribution channel12.1.0Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history