{"cve":"CVE-2022-23646","nvd":{"published":"2022-02-17T21:15:07.883","modified":"2026-06-17T04:30:33.360","status":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5},"cwes":["CWE-451"],"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","https://github.com/vercel/next.js/pull/34075","https://github.com/vercel/next.js/releases/tag/v12.1.0"],"products":["vercel:next.js"],"source":"nvd","synced_at":"2026-10-19T21:28:04.509275555+00:00"},"epss":{"cve":"CVE-2022-23646","score":0.01795,"percentile":0.78423,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-fmvm-x8mv-47mj","url":"https://osv.dev/vulnerability/GHSA-fmvm-x8mv-47mj","summary":"Improper CSP in Image Optimization API for Next.js versions between 10.0.0 and 12.1.0","modified":"2023-11-08T04:08:26.298810Z","packages":[{"ecosystem":"npm","name":"next","purl":"pkg:npm/next","ranges":[">=10.0.0 <12.1.0"],"fixed":["12.1.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}