CVE-2024-28397
MEDIUM 5.3CVSS 3.1js2py allows remote code execution
An issue in the component js2py.disable_pyimport() of js2py up to v0.74 allows attackers to execute arbitrary code via a crafted API call.
- Published
- 20 Jun 2024
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Deferred
- Weakness
- CWE-94
- Also known as
- GHSA-h95x-26f3-88hrPYSEC-2026-1476
- Sources
- NVDJSONOSV GHSA-h95x-26f3-88hrJSONOSV PYSEC-2026-1476JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | |
| OSV | PyPA | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | js2py | <= 0.74 |
References
- https://github.com/Marven11 · WEB
- https://github.com/Marven11/CVE-2024-28397-js2py-Sandbox-Escape · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-28397 · ADVISORY
- https://github.com/PiotrDabkowski/Js2Py/pull/323 · WEB
- https://github.com/PiotrDabkowski/Js2Py · PACKAGE
- https://pypi.org/project/js2py · PACKAGE
- https://github.com/advisories/GHSA-h95x-26f3-88hr · ADVISORY
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 20 Jun 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 20 Jun 2024)