Description
Next.js is a React framework. Versions of Next.js between 10.0.0 and 11.0.0 contain a cross-site scripting vulnerability. In order for an instance to be affected by the vulnerability, the `next.config.js` file must have `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 or the instance is deployed on Vercel, the instance is not affected by the vulnerability. The vulnerability is patched in Next.js version 11.1.1.
Remediation
References
Related Vulnerabilities
WebLogic CVE-2020-14639 Vulnerability (CVE-2020-14639)
TYPO3 Improper Control of Generation of Code ('Code Injection') Vulnerability (CVE-2014-3942)
WordPress Plugin WP Instagram-Best Instagram Feeds Cross-Site Scripting (1.0.19)
MediaWiki Permissions, Privileges, and Access Controls Vulnerability (CVE-2015-8004)
Liferay Portal Improper Authentication Vulnerability (CVE-2021-29047)