SCA: security update for jquery.terminal (GHSA-x9r5-jxvq-4387)

medium Tenable Cloud Security Plugin ID 433534

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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). (CVE-2021-43862)

See Also

https://github.com/advisories/GHSA-x9r5-jxvq-4387

Plugin Details

Severity: Medium

ID: 433534

Version: Revision 1.5

Type: Local

Family: SCA Checks

Published: 8/19/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 8.67

Vendor

Vendor Severity: Low

CVSS v2

Risk Factor: Low

Base Score: 2.1

Temporal Score: 1.6

Vector: CVSS2#AV:N/AC:H/Au:S/C:N/I:P/A:N

CVSS Score Source: CVE-2021-43862

CVSS v3

Risk Factor: Medium

Base Score: 5.4

Temporal Score: 4.9

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 1/6/2022

Vulnerability Publication Date: 12/30/2021

Reference Information

CVE: CVE-2021-43862