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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2021-43862— Self XSS on user input

Quick assessment

Affected
jcubic jquery.terminal
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.

jQuery是美国John Resig个人开发者的一套开源、跨浏览器的JavaScript库。该库简化了HTML与JavaScript之间的操作,并具有模块化、插件扩展等特点。 jQuery Terminal Emulator 2.31.1之前版本存在跨站脚本漏洞,该漏洞源于应用程序对于execHash选项缺少有效的过滤与转义。

CVSS 3.7 · Low EPSS 1.04% · P62
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2021-43862

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
Self XSS on user input
Source: CVE Program / CVE List V5
Vulnerability Description
jQuery Terminal Emulator is a plugin for creating command line interpreters in your applications. Versions prior to 2.31.1 contain a low impact and limited cross-site scripting (XSS) vulnerability. The code for XSS payload is always visible, but an attacker can use other techniques to hide the code the victim sees. If the application uses the `execHash` option and executes code from URL, the attacker can use this URL to execute their code. The scope is limited because the javascript attribute used is added to span tag, so no automatic execution like with `onerror` on images is possible. This issue is fixed in version 2.31.1. As a workaround, the user can use formatting that wrap whole user input and its no op. The code for this workaround is available in the GitHub Security Advisory. The fix will only work when user of the library is not using different formatters (e.g. to highlight code in different way).
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
Web页面中脚本相关HTML标签转义处理不恰当(基本跨站脚本)
Source: CVE Program / CVE List V5
Vulnerability Title
jQuery 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
jQuery是美国John Resig个人开发者的一套开源、跨浏览器的JavaScript库。该库简化了HTML与JavaScript之间的操作,并具有模块化、插件扩展等特点。 jQuery Terminal Emulator 2.31.1之前版本存在跨站脚本漏洞,该漏洞源于应用程序对于execHash选项缺少有效的过滤与转义。
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
jcubic jquery.terminal < 2.31.1 -

II. Public POCs for CVE-2021-43862

# 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-43862

登录查看更多情报信息。

Patches & Fixes for CVE-2021-43862 (1)

Vendor Advisories for CVE-2021-43862 (1)

Other References for CVE-2021-43862 (2)

IV. Related Vulnerabilities

V. Comments for CVE-2021-43862

No comments yet


Leave a comment