{"id":"CVE-2024-28397","aliases":["CVE-2024-28397","GHSA-h95x-26f3-88hr","PYSEC-2026-1476"],"related":[],"kind":"vulnerability","state":"published","title":"js2py allows remote code execution","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Un problema en el componente js2py.disable_pyimport() de js2py hasta v0.74 permite a atacantes ejecutar código arbitrario a través de una llamada API manipulada.","source":"nvd"}],"published":"2024-06-20T00:00:00.000Z","modified":"2026-09-10T03:50:15.483Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","vector":"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"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"0.74","status":"unknown"}],"vendor":"js2py","product":"js2py_disable_pyimport","cpe":"cpe:2.3:a:js2py:js2py_disable_pyimport:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"0.74"}],"ecosystem":"PyPI","package":"js2py","purl":"pkg:pypi/js2py","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"0.74"}],"ecosystem":"PyPI","package":"js2py","purl":"pkg:pypi/js2py","source":"pysec"}],"references":[{"url":"https://github.com/Marven11","tags":["web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/Marven11/CVE-2024-28397-js2py-Sandbox-Escape","tags":["web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-28397","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/PiotrDabkowski/Js2Py/pull/323","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/PiotrDabkowski/Js2Py","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/js2py","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-h95x-26f3-88hr","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2024-06-26T15:50:12.419Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-28397","url":"https://www.cve.org/CVERecord?id=CVE-2024-28397","licence":"CVE Terms of Use","modified":"2024-08-02T00:56:57.584Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-h95x-26f3-88hr","url":"https://github.com/advisories/GHSA-h95x-26f3-88hr","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:15.483Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-28397","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-28397","licence":"Public domain","modified":"2026-06-17T07:21:24.123Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1476","url":"https://osv.dev/vulnerability/PYSEC-2026-1476","licence":"CC-BY-4.0","modified":"2026-07-07T17:46:46.023Z"}],"updatedAt":"2026-11-25T22:58:42.078Z","epss":{"score":0.04815,"percentile":0.92165,"date":"2026-12-01T12:00:22.000Z"}}