CVE-2022-30286 in the critical feed json
pyscriptjs (aka PyScript Demonstrator) in PyScript through 2022-05-04 allows a remote user to read Python source code.
published 2022-05-09 4 y ago modified 2026-06-17 4 mo ago also EUVD-2022-52238
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 13.6%
- EPSS 13.6% chance of exploitation in 30 days, percentile 96%
- public exploits
- 1
- Exploit-DB
Summary
pyscriptjs (aka PyScript Demonstrator) in PyScript through 2022-05-04 allows a remote user to read Python source code.
Patch / fix
Timeline
- Published
- First public exploit (EDB-50918)
Exploit prediction
13.64% chance of exploitation in the next 30 days, higher than 96% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- EDB-50918 PyScript - Read Remote Python Source Code remote, 2022-05-11
- cyber-guy.gitbook.io https://cyber-guy.gitbook.io/cyber-guy/pocs/pyscript-file-read referenced PoC, tagged "exploit" by a source, unverified
- cyber-guy.gitbook.io https://cyber-guy.gitbook.io/cyber-guy/blogs/the-art-of-vulnerability-chaining-pyscript referenced PoC, tagged "exploit" by a source, unverified
- packetstormsecurity.com http://packetstormsecurity.com/files/167069/PyScript-2022-05-04-Alpha-Source-Code-Disclosure.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
References
-
github.com
/pyscript/pyscript/commits/main
patch, third-party-advisory
-
cyber-guy.gitbook.io
/cyber-guy/pocs/pyscript-file-read
exploit, third-party-advisory
-
cyber-guy.gitbook.io
/cyber-guy/blogs/the-art-of-vulnerability-chaining-pyscript
exploit, third-party-advisory
-
packetstormsecurity.com
/files/167069/PyScript-2022-05-04-Alpha-Source-Code-Disclosure.html
exploit, third-party-advisory, vdb-entry
-
exploit-db.com
/exploits/50918
exploit, third-party-advisory, vdb-entry
Sources
- CVE List CVE-2022-30286
- NVD CVE-2022-30286
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.