Ad

CVE-2026-33140

MEDIUM CVSS 4.0: 5.3 EPSS 0.01%
Updated Mar 24, 2026
Python
Parameter Value
CVSS 5.3 (MEDIUM)
Affected Versions before 0.1.7
Fixed In 0.1.7
Type CWE-79 (Cross-Site Scripting (XSS))
Vendor Python
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
Passive
Minimal interaction

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
None
No disruption

CVSS Vector v4.0

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Parzivalhack Pyspector
cpe:2.3:a:parzivalhack:pyspector:*:*:*:*:*:python:*:*
0.1.7