CVE-2021-43862
LOWDescription
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).
How to fix
TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N
Exploit Intelligence
Moderate risk: more likely to be exploited than 61% of all known CVEs.
References
Related Vulnerabilities
Other CWE-80 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2022-21145 | Medium | 4.8 | 78% | - | - |
| CVE-2020-13562 | Medium | 6.1 | 78% | - | - |
| CVE-2020-13965 | Medium | 6.1 | 77% | KEV | Fix |
| CVE-2020-13564 | Medium | 6.1 | 76% | - | - |
| CVE-2020-13563 | Medium | 6.1 | 76% | - | - |
| CVE-2024-4439 | High | 7.2 | 71% | - | Fix |
Common questions
How do I fix CVE-2021-43862?
Upgrade jquery.terminal to 2.31.1 or later.
Is CVE-2021-43862 being actively exploited?
Not that we know of. CVE-2021-43862 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 1.0% is the estimated probability that it will be exploited in the next 30 days. That is higher than 61% of all scored CVEs.
How severe is CVE-2021-43862?
CVE-2021-43862 has a CVSS v3 base score of 3.7, rated low. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.
What does CVE-2021-43862 affect?
Published advisories record a fix for jquery.terminal (NVD). Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.
Embed a live status badge for CVE-2021-43862
Markdown
[](https://tridentstack.com/cve/CVE-2021-43862)HTML
<a href="https://tridentstack.com/cve/CVE-2021-43862"><img src="https://tridentstack.com/cve/badge/CVE-2021-43862.svg" alt="CVE-2021-43862"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.