CVE-2022-30286

HIGH

PyScript <2022-05-04 - Info Disclosure

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2022-30286. PoCs published by Momen Eldawakhly.

AI-analyzed exploit summary This exploit leverages PyScript's ability to execute Python code in the browser to read local Python library files and exfiltrate console logs via a Burp Collaborator endpoint. It demonstrates an information leakage vulnerability by accessing restricted filesystem paths and sending data to an attacker-controlled server.

Description

pyscriptjs (aka PyScript Demonstrator) in PyScript through 2022-05-04 allows a remote user to read Python source code.

Exploits (1)

exploitdb WORKING POC
by Momen Eldawakhly · textremotepython
https://www.exploit-db.com/exploits/50918

This exploit leverages PyScript's ability to execute Python code in the browser to read local Python library files and exfiltrate console logs via a Burp Collaborator endpoint. It demonstrates an information leakage vulnerability by accessing restricted filesystem paths and sending data to an attacker-controlled server.

Classification
Working Poc 90%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: PyScript 2022-05-04-Alpha
No auth needed
Prerequisites: Victim must visit a malicious webpage hosting the PyScript exploit · PyScript must be loaded in the browser environment
devstral-2 · analyzed Feb 18, 2026 Full analysis →

References (5)

Core 5
Core References
Exploit, Third Party Advisory x_refsource_misc
https://cyber-guy.gitbook.io/cyber-guy/pocs/pyscript-file-read
Patch, Third Party Advisory x_refsource_misc
https://github.com/pyscript/pyscript/commits/main
Exploit, Third Party Advisory, VDB Entry x_refsource_misc
https://www.exploit-db.com/exploits/50918

Scores

CVSS v3 7.5
EPSS 0.1300
EPSS Percentile 95.8%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Details

Status published
Products (1)
pyscript/pyscript < 2022-05-04
Published May 09, 2022
Tracked Since Feb 18, 2026