PT-2026-26197 · Pyspector · Pyspector

Satoridev01

·

Published

2026-03-18

·

Updated

2026-03-21

·

CVE-2026-33140

CVSS v3.1

6.1

Medium

VectorAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions PySpector versions prior to 0.1.7
Description PySpector, a static analysis security testing (SAST) Framework, is affected by a stored Cross-Site Scripting (XSS) issue in its HTML report generator. When scanning a Python file containing JavaScript payloads (for example, within a string passed to eval()), the flagged code snippet is included in the HTML report without proper sanitization. Opening the generated report in a browser causes the embedded JavaScript to execute within the browser’s local file context. An attacker can craft a malicious Python file and, when scanned by PySpector and opened by a victim, can achieve arbitrary DOM manipulation, redirects to attacker-controlled pages, and potential theft of locally accessible data. The eval() function is used to execute the JavaScript payload.
Recommendations Versions prior to 0.1.7 should be updated to version 0.1.7 or later.

Fix

XSS

Weakness Enumeration

Related Identifiers

CVE-2026-33140
GHSA-2GMV-2R3V-JXJ2

Affected Products

Pyspector