SCA: security update for pyspector (GHSA-2gmv-2r3v-jxj2)

medium Tenable Cloud Security Plugin ID 438934

Description

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

- PySpector is a static analysis security testing (SAST) Framework engineered for modern Python development
workflows. PySpector versions 0.1.6 and prior are affected by a stored Cross-Site Scripting (XSS)
vulnerability in the HTML report generator. When PySpector scans a Python file containing JavaScript
payloads (i.e. inside a string passed to eval() ), the flagged code snippet is interpolated into the HTML
report without sanitization. Opening the generated report in a browser causes the embedded JavaScript to
execute in the browser's local file context. This issue has been patched in version 0.1.7.
(CVE-2026-33140)

Solution

Update the pyspector library and its related packages to version 0.1.7 or later.

See Also

https://github.com/advisories/GHSA-2gmv-2r3v-jxj2

Plugin Details

Severity: Medium

ID: 438934

Version: Revision 1.8

Type: Local

Family: SCA Checks

Published: 3/18/2026

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 9.42

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 5

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

CVSS Score Source: CVE-2026-33140

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.5

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

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

CVSS v4

Risk Factor: Medium

Base Score: 5.3

Threat Score: 2.1

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/18/2026

Vulnerability Publication Date: 3/18/2026

Reference Information

CVE: CVE-2026-33140

cwe: CWE-79