Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2021-39178— XSS in Image Optimization API for Next.js versions between 10.0.0 and 11.1.0

Quick assessment

Affected
vercel next.js
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

ZEIT Next.js是ZEIT公司的一款基于Vue.js、Node.js、Webpack和Babel.js的开源Web应用框架。 Next.js 10.0.0至11.0.0版本存在跨站脚本漏洞,攻击者可以利用该漏洞执行任意js命令。

CVSS 7.5 · High EPSS 1.14% · P64
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2021-39178

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
XSS in Image Optimization API for Next.js versions between 10.0.0 and 11.1.0
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5
Vulnerability Title
ZEIT Next.js 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
ZEIT Next.js是ZEIT公司的一款基于Vue.js、Node.js、Webpack和Babel.js的开源Web应用框架。 Next.js 10.0.0至11.0.0版本存在跨站脚本漏洞,攻击者可以利用该漏洞执行任意js命令。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
vercel next.js >= 10.0.0, < 11.1.1 -

II. Public POCs for CVE-2021-39178

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2021-39178

登录查看更多情报信息。

Vendor Advisories for CVE-2021-39178 (1)

Other References for CVE-2021-39178 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2021-39178

No comments yet


Leave a comment