CVE-2022-23646
published 2022-02-17CVE-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…
PriorityP343high7.5CVSS 3.1
AVNACLPRNUINSUCNIHAN
EPSS
1.77%
75.3th percentile
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.
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| next | next | >= 10.0.0 < 12.1.0 | 12.1.0 |
| vercel | next.js | — | — |
| vercel | next.js | >= 10.0.0 < 12.1.0 | 12.1.0 |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:P/A:N
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
Improper CSP in Image Optimization API for Next.js versions between 10.0.0 and 12.1.0
ghsa·2022-02-17
CVE-2022-23646 [MEDIUM] CWE-451 Improper CSP in Image Optimization API for Next.js versions between 10.0.0 and 12.1.0
Improper CSP in Image Optimization API for Next.js versions between 10.0.0 and 12.1.0
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.
### Impact
- **Affected**: All of the following must be true to be affected
- Next.js
OSV
Improper CSP in Image Optimization API for Next.js versions between 10.0.0 and 12.1.0
osv·2022-02-17
CVE-2022-23646 [MEDIUM] Improper CSP in Image Optimization API for Next.js versions between 10.0.0 and 12.1.0
Improper CSP in Image Optimization API for Next.js versions between 10.0.0 and 12.1.0
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.
### Impact
- **Affected**: All of the following must be true to be affected
- Next.js
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/vercel/next.js/pull/34075https://github.com/vercel/next.js/releases/tag/v12.1.0https://github.com/vercel/next.js/security/advisories/GHSA-fmvm-x8mv-47mjhttps://github.com/vercel/next.js/pull/34075https://github.com/vercel/next.js/releases/tag/v12.1.0https://github.com/vercel/next.js/security/advisories/GHSA-fmvm-x8mv-47mj
2022-02-17
Published