CVE-2024-28397
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
- Jun 20, 2024
- Updated
- Aug 2, 2024
- Assigning CNA
- mitre
- Evidence observed
- Apr 30, 2026
Primary CVSS
nvd · CVSS 3.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:LLow · next 30 days
- Percentile
- 91.6%
- Model date
- Nov 6, 2026
EPSS is a statistical estimate, not a certainty or a measure of impact. Combine it with CVSS, KEV status, exposure and your environment.
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.
Sources
modules/exploits/linux/http/pyload_js2py_cve_2024_39205.rb
Metasploit Framework modulesDeclared conditions
- platform: Linux,Unix($.exploit_linux/http/pyload_js2py_cve_2024_39205.platform)
- verification: check_declared($.exploit_linux/http/pyload_js2py_cve_2024_39205.check)
http/cves/2024/CVE-2024-28397.yaml
Nuclei TemplatesDeclared conditions
- network: http($.protocol_keys)
- verification: status,word($.matchers[*].type)
- oob: interactsh_reference($.template_text)
Exploit scripts for CVE-2024-28397, a js2py sandbox escape that executes arbitrary Python code to spawn a reverse shell on a target endpoint.
- CVE-2024-28397-exploitExploit
js2py <= 0.74 sandbox escape (CVE-2024-28397)
- CVE-2024-28397-Js2Py-RCEExploit
This repository contains a Proof of Concept (PoC) for CVE-2024-28397, a vulnerability in the js2py library allowing a sandbox escape to achieve remote code execution.
This vulnerability arises from incomplete sandboxing in js2py, where crafted JavaScript can traverse Python’s internal object model and access dangerous classes like subprocess.Popen, leading to arbitrary command execution.
- CVE-2024-28397Exploit
This repository contains a python exploit code for CVE-2024-28397 intended for use on the "CodePartTwo" machine on Hack The Box (HTB).
Detailed analysis of CVE-2024-28397, a sandbox escape vulnerability in js2py enabling RCE via Python object traversal. Includes code analysis, PoC, and fix recommendations for defensive research.
- CVE-2024-28397-RCEExploit
Python exploit script for CVE-2024-28397 targeting js2py <= v0.74. Supports reverse shell and custom command execution via HTTP endpoint.
A Python automation script for exploiting the **js2py Sandbox Escape** vulnerability (CVE-2024-28397). This tool automates the payload generation and delivery process to achieve Remote Code Execution (RCE) on vulnerable instances.
- exploit-js2pyExploit
The CVE-2024-28397 vulnerability affects versions of js2py up to v0.74, a Python library that allows JavaScript code to be executed within the Python interpreter.
PoC exploit for CVE-2024-28397 – Remote Code Execution in pyload-ng via js2py sandbox escape
Proof-of-concept exploit for CVE-2024-28397, a sandbox escape in js2py allowing remote code execution via crafted JavaScript, with a dynamic patch fix.
CVE-2024-28397: js2py sandbox escape, bypass pyimport restriction.
- CVE-2024-28397-Reverse-ShellExploit
Reverse shell for CVE-2024-28397.
- CVE-2024-28397-RCEExploit
CVE-2024-28397 - Remote Code Execution From Vulnerable JS2PY
Professional exploit for CVE-2024-28397: Js2Py Sandbox Escape leading to Remote Code Execution (RCE). Includes modular payload generation.
- CVE-2024-28397-Js2Py-RCEExploit
Generates JavaScript payloads to exploit CVE-2024-28397 Js2Py sandbox escape, enabling remote command execution and reverse shells via Python internals exposure.
Pyload RCE with js2py sandbox escape
- Js2Py 0.74 - RCEExploit
alisunbul · multiple · Apr 30, 2026
Responsible use
Use vulnerability information only on systems you own or are authorized to test. Kitploit links to public research metadata and does not store exploit code or malicious payloads.