CVE & CISA-KEV Catalog

CVE-2021-43862

LOW
3.7
CVSS v3
NVD

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

How to fix

Remediation Available
jquery.terminalNVD
Affected:< 2.31.1Fixed in:2.31.1CVE-2021-43862derived from NVD

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

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredLow
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityLow
IntegrityLow
AvailabilityNone

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N

Exploit Intelligence

1.04%probability of exploitation in 30 days
60thpercentile

Moderate risk: more likely to be exploited than 60% of all known CVEs.

References

Exploit1
Third-Party Advisory2
Embed a live status badge for CVE-2021-43862
CVE-2021-43862 severity badge

Markdown

[![CVE-2021-43862](https://tridentstack.com/cve/badge/CVE-2021-43862.svg)](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.

Start free

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.