{"id":"CVE-2024-28397","published":"2024-06-20T00:00:00Z","modified":"2024-08-02T00:56:57Z","title":"An issue in the component js2py.disable_pyimport() of js2py up to v0.74 allows attackers to execute arbitrary code via…","vendor":null,"product":null,"tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.04815,"percentile":0.92178,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/Marven11","tags":[]},{"url":"https://github.com/Marven11/CVE-2024-28397-js2py-Sandbox-Escape","tags":[]}],"priority":{"score":27.1,"factors":[{"name":"EPSS percentile","points":18.44},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.71}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2026-04-30"},"pocGithub":{"count":13,"skipped":3,"earliest":"2024-06-19","earliestUrl":"https://github.com/Marven11/CVE-2024-28397-js2py-Sandbox-Escape","repos":[{"name":"Marven11/CVE-2024-28397-js2py-Sandbox-Escape","url":"https://github.com/Marven11/CVE-2024-28397-js2py-Sandbox-Escape","stars":73,"created":"2024-06-19"},{"name":"naclapor/CVE-2024-28397","url":"https://github.com/naclapor/CVE-2024-28397","stars":12,"created":"2025-09-09"},{"name":"GhostOverflow/CVE-2024-28397-command-execution-poc","url":"https://github.com/GhostOverflow/CVE-2024-28397-command-execution-poc","stars":5,"created":"2025-08-17"},{"name":"L1337Xi/CVE-2024-28397-Exploit-Automation","url":"https://github.com/L1337Xi/CVE-2024-28397-Exploit-Automation","stars":2,"created":"2025-12-06"},{"name":"xeloxa/CVE-2024-28397-Js2Py-RCE-Exploit","url":"https://github.com/xeloxa/CVE-2024-28397-Js2Py-RCE-Exploit","stars":2,"created":"2026-02-03"}]},"metasploit":[{"name":"Pyload RCE (CVE-2024-39205) with js2py sandbox escape (CVE-2024-28397)","module":"exploit/linux/http/pyload_js2py_cve_2024_39205","type":"exploit","disclosureDate":"2024-10-28","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/pyload_js2py_cve_2024_39205.rb"}],"nuclei":[{"id":"CVE-2024-28397","name":"pyload-ng js2py - Remote Code Execution","severity":"medium","path":"http/cves/2024/CVE-2024-28397.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-28397.yaml"}],"first":{"date":"2024-06-19","source":"PoC-in-GitHub","url":"https://github.com/Marven11/CVE-2024-28397-js2py-Sandbox-Escape"},"provenance":"source"},"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-06-26T15:50:12.419879Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"js2py","vulnerableRanges":["<=0.74"],"patched":[],"from":["GHSA-h95x-26f3-88hr","PYSEC-2026-1476"],"provenance":"source"}],"summary":{"text":"The flaw is in the js2py.disable_pyimport() component of the js2py library, affecting versions up to v0.74. It allows arbitrary code execution through a crafted API call, which an attacker could use to run code in the context of the application using js2py; it requires a local attack vector with low privileges and no user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T05:37:53Z"},"euvd":{"id":"EUVD-2024-2066","exploited":false,"provenance":"source"},"exploits":[{"id":52532,"url":"https://www.exploit-db.com/exploits/52532","title":"Js2Py 0.74 -  RCE","date":"2026-04-30","verified":false,"provenance":"source"}],"lineage":{"familyId":"fam-js2py-cve-2024-28397","children":[{"from":"CVE-2024-28397","to":"CVE-2024-39205","relation":"related","confidence":"high","kind":"lineage","evidence":[{"kind":"osv-related","provenance":"source","id":"GHSA-r9pp-r4xf-597r","via":"reference","url":"https://github.com/advisories/GHSA-h95x-26f3-88hr"},{"kind":"osv-related","provenance":"source","id":"PYSEC-2026-499","via":"reference","url":"https://github.com/advisories/GHSA-h95x-26f3-88hr"}]}]}}