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

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 13.6%, higher than 96% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 4 links below, marked "exploit"
- Published: 2022-05-09T12:01:36.000Z
- Modified: 2026-06-17T04:43:24.900Z
- Assigned by: mitre

## Description

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

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- pyscript pyscript: up to 2022-05-04

## Every score

- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://cyber-guy.gitbook.io/cyber-guy/pocs/pyscript-file-read> (exploit, third-party-advisory)
- <https://cyber-guy.gitbook.io/cyber-guy/blogs/the-art-of-vulnerability-chaining-pyscript> (exploit, third-party-advisory)
- <http://packetstormsecurity.com/files/167069/PyScript-2022-05-04-Alpha-Source-Code-Disclosure.html> (exploit, third-party-advisory, vdb-entry)
- <https://www.exploit-db.com/exploits/50918> (exploit, third-party-advisory, vdb-entry)
- <https://github.com/pyscript/pyscript/commits/main> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2022-30286](https://www.cve.org/CVERecord?id=CVE-2022-30286), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2022-30286](https://nvd.nist.gov/vuln/detail/CVE-2022-30286), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-30286 · Whole record: https://cve.day/CVE-2022-30286.json · Rebuilt by cve.day 2026-11-25T22:58:11.510Z
