CVE-2022-23646
Last modified
CVE-2022-23646 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 1.77% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Vercel | Next.Js | >= 10.0.0, < 12.1.0 |
References
- https://github.com/vercel/next.js/pull/34075Issue Tracking, Patch, Third Party Advisory
- https://github.com/vercel/next.js/releases/tag/v12.1.0Release Notes, Third Party Advisory
- https://github.com/vercel/next.js/security/advisories/GHSA-fmvm-x8mv-47mjIssue Tracking, Mitigation, Patch, Third Party Advisory
- https://github.com/vercel/next.js/pull/34075Issue Tracking, Patch, Third Party Advisory
- https://github.com/vercel/next.js/releases/tag/v12.1.0Release Notes, Third Party Advisory
- https://github.com/vercel/next.js/security/advisories/GHSA-fmvm-x8mv-47mjIssue Tracking, Mitigation, Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-23646?
How severe is CVE-2022-23646?
How do I fix CVE-2022-23646?
Are you affected by CVE-2022-23646?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
