CVE-2022-23646
Summary
| CVE | CVE-2022-23646 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-02-17 21:15:00 UTC |
| Updated | 2022-02-25 17:44:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-451
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Release v12.1.0 · vercel/next.js · GitHub | MISC | github.com | Release Notes, Third Party Advisory |
| Improper CSP in Image Optimization API for Next.js versions between 10.0.0 and 12.0.10 · Advisory · vercel/next.js · GitHub | CONFIRM | github.com | Issue Tracking, Mitigation, Patch, Third Party Advisory |
| Update to leverage response-cache for image-optimizer by ijjk · Pull Request #34075 · vercel/next.js · GitHub | MISC | github.com | Issue Tracking, Patch, Third Party Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.