CVE-2022-23646: vercel next.js
Vulnerability summary
CVE-2022-23646 is a high (CVSS 7.5) vulnerability in vercel next.js. EPSS estimates a 1.80% chance of exploitation in the next 30 days, higher than 78.2% of scored vulnerabilities.
Timeline
- 17-02-2022PublishedVulnerability first disclosed.
- 23-04-2025Last modifiedVulnerability information updated.
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 metrics
4 scores · 3 sources · 2 versions- CVE.orgCNA5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:NDiffers
- OSV · NpmEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:NDiffers
EPSS trend
Probability
1.80%
Chance of exploitation in the next 30 days
Percentile
78%
Versus all other CVEs
30-day change
0.00 pp
From 1.80% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Npm1 product
- next≥ 10.0.0, < 12.1.0
Vercel1 product
- next.js≥ 10.0.0, < 12.1.0
2 vendors · 2 products
References
5 links- github.com/vercel/next.js/security/advisories/GHSA-fmvm-x8mv-47mjX Refsource CONFIRMWEBIssue TrackingMitigationPatchThird Party Advisory
- github.com/vercel/next.jsPACKAGE