XSS in Parzivalhack Pyspector
CVE-2026-33140
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.003 (16.1th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 16th percentile — 16.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.003 · change: +0.000
Affected products
- Parzivalhack Pyspector — versions < 0.1.7
Weakness classification (CWE)
References
- github.com/ParzivalHack/PySpector/security/advisories/GHSA-2gmv-2r3v-jxj2 (Exploit, Vendor Advisory)
Frequently asked questions
- What is CVE-2026-33140?
- CVE-2026-33140 is a medium-severity vulnerability in Parzivalhack Pyspector, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2026-03-20.
- How severe is CVE-2026-33140?
- Medium severity. CVSS v3 base score is 6.1 out of 10.