Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2021-43862

3.7 · LOW
Published Dec 30, 2021 jquery.terminal_project CWE-80 EPSS 1.04% (62th pctl)

Overview

CVE-2021-43862 is a low-severity vulnerability affecting jquery.terminal_project jquery.terminal. It was published on December 30, 2021 and has a CVSS 3.1 base score of 3.7 (LOW).

This vulnerability has a CVSS 3.1 base score of 3.7, rated LOW. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical 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).

Remediation

Check the references section for vendor advisories and patches from jquery.terminal_project. Update jquery.terminal to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
jquery.terminal_project jquery.terminal >= 0, < 2.31.1 Affected

Frequently Asked Questions

What is CVE-2021-43862?

CVE-2021-43862 is a low-severity vulnerability affecting jquery.terminal_project jquery.terminal. It was published on December 30, 2021 and has a CVSS 3.1 base score of 3.7 (LOW).

How severe is CVE-2021-43862?

This vulnerability has a CVSS 3.1 base score of 3.7, rated LOW. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2021-43862?

Check the references section for vendor advisories and patches from jquery.terminal_project. Update jquery.terminal to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-43862?

CyberStrike's AI-powered security agents can automatically detect CVE-2021-43862 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.