{"id":"GHSA-h95x-26f3-88hr","summary":"js2py allows remote code execution","details":"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.","aliases":["CVE-2024-28397","PYSEC-2026-1476"],"modified":"2026-07-17T21:09:07.340739836Z","published":"2024-06-20T18:34:08Z","database_specific":{"cwe_ids":["CWE-94"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2024-06-20T19:19:56Z","nvd_published_at":"2024-06-20T17:15:50Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-28397"},{"type":"WEB","url":"https://github.com/PiotrDabkowski/Js2Py/pull/323"},{"type":"WEB","url":"https://github.com/Marven11"},{"type":"WEB","url":"https://github.com/Marven11/CVE-2024-28397-js2py-Sandbox-Escape"},{"type":"PACKAGE","url":"https://github.com/PiotrDabkowski/Js2Py"}],"affected":[{"package":{"name":"js2py","ecosystem":"PyPI","purl":"pkg:pypi/js2py"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.74"}]}],"versions":["0.1","0.2","0.21","0.22","0.23","0.25","0.26","0.27","0.28","0.29","0.30","0.31","0.32","0.33","0.35","0.36","0.37","0.39","0.40","0.41","0.42","0.43","0.44","0.47","0.48","0.49","0.50","0.51","0.52","0.53","0.54","0.55","0.56","0.57","0.58","0.59","0.60","0.61","0.62","0.63","0.66","0.67","0.68","0.69","0.70","0.71","0.72","0.74"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/06/GHSA-h95x-26f3-88hr/GHSA-h95x-26f3-88hr.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"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"}]}