Every CVE Search/ Get API key

CVE-2024-28397

js2py allows remote code execution

5.3 MediumPublic exploitFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
Low
Integrity
Low
Availability
Low

Exploit likelihood

4.55%Up 4.5 points since Jun 21, 2024
90%50%10%1%

What each source reports

CVE List Score used 5.3

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.

Record
CVE-2024-28397
CVSS 3.1
5.3 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Weakness
CWE-94
Updated
2026-11-02
EUVDEUVD-2024-2066 5.3

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.

Record
EUVD-2024-2066
CVSS 3.1
5.3 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Updated
2026-11-03
GitHub AdvisoriesGHSA-h95x-26f3-88hr 8.7

js2py 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.

Record
GHSA-h95x-26f3-88hr
CVSS 4.0
8.7 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-94
Updated
2026-11-02
NVD 5.3

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.

Record
CVE-2024-28397
CVSS 3.1
5.3 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Weakness
CWE-94
Updated
2026-11-02
OSVGHSA-h95x-26f3-88hr 8.7

js2py 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.

Record
GHSA-h95x-26f3-88hr
CVSS 4.0
8.7 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-94
Updated
2026-11-02
OSVPYSEC-2026-1476 8.7

js2py 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.

Record
PYSEC-2026-1476
CVSS 4.0
8.7 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 5 moreShow less
OSVUBUNTU-CVE-2024-28397 5.3

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.

Record
UBUNTU-CVE-2024-28397
CVSS 3.1
5.3 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Updated
2026-11-02
OSVMGASA-2024-0256 No score

Updated python-js2py packages fix security vulnerability

CVE-2024-28397: Fixed a potential sandbox escape via untrusted JavaScript code

Record
MGASA-2024-0256
Updated
2026-11-02
OSVopenSUSE-SU-2024:14086-1 No score

python310-Js2Py-0.74-3.1 on GA media

These are all security issues fixed in the python310-Js2Py-0.74-3.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:14086-1
Updated
2026-11-02
OSVopenSUSE-SU-2026:11322-1 No score

python313-Js2Py-0.74-6.1 on GA media

These are all security issues fixed in the python313-Js2Py-0.74-6.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2026:11322-1
Updated
2026-11-02
OSVSUSE-SU-2024:2272-1 No score

Security update for python-Js2Py

This update for python-Js2Py fixes the following issues:

  • CVE-2024-28397: Fixed a potential sandbox escape via untrusted JavaScript code (bsc#1226660).
Record
SUSE-SU-2024:2272-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
js2py
PyPI
through 0.74 None known
js2py
PyPI
through 0.74, plus listed versions
0.10.20.210.220.23
Show 42 moreShow less
0.250.260.270.280.290.300.310.320.330.350.360.370.390.400.410.420.430.440.470.480.490.500.510.520.530.540.550.560.570.580.590.600.610.620.630.660.670.680.690.700.710.72
None known
python-js2py
Mageia:9
before 0.70-3.1.mga9
0.70-3.1.mga9
python-Js2Py
openSUSE:Leap 15.6
before 0.74-150400.9.6.1
0.74-150400.9.6.1
python-cloudscraper
Ubuntu:24.04:LTS
All versions, plus listed versions
1.2.69-11.2.69-21.2.71~git20230426.cbb3c0ea-1
None known
python-cloudscraper
Ubuntu:25.10
All versions, plus listed versions
1.2.71~git20230426.cbb3c0ea-1
None known
python-cloudscraper
Ubuntu:26.10
All versions, plus listed versions
1.2.71~git20230426.cbb3c0ea-1build1
None known
python-cloudscraper
Ubuntu:26.04:LTS
All versions, plus listed versions
1.2.71~git20230426.cbb3c0ea-11.2.71~git20230426.cbb3c0ea-1build1
None known
python-Js2Py
openSUSE:Tumbleweed
before 0.74-3.1
0.74-3.1
python-Js2Py
openSUSE:Tumbleweed
before 0.74-6.1
0.74-6.1

Public exploits

Links only. Every CVE stores no exploit code.

Show 9 moreShow less
Public exploits
SourceLinkDate
PoC in GitHubNaved124/CVE-2024-28397-js2py-Sandbox-Escape2025-08-28
PoC in GitHubRianJuniorSf/exploit-js2py2025-08-18
PoC in GitHubUdayveer17/Remote-Code-Execution-CVE-2024-28397-pyload-ng-js2py-2025-09-06
PoC in GitHubharutomo-jp/CVE-2024-28397-RCE2025-08-18
PoC in GitHubnaclapor/CVE-2024-283972025-09-09
PoC in GitHubsomisec/CVE-2024-28397-Reverse-Shell2025-10-12
PoC in GitHubvitaciminIPI/CVE-2024-28397-RCE2025-09-17
PoC in GitHubxeloxa/CVE-2024-28397-Js2Py-RCE-Exploit2026-02-03
PoC in GitHuby0naldez/CVE-2024-28397-Js2Py-RCE2026-05-12

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, Exploit-DB, GitHub Advisories, Metasploit, Nuclei, NVD, OSV, PoC in GitHub

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2024-28397 is a medium vulnerability (CVSS 5.3) in Js2py Disable Pyimport, published June 20, 2024. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 4.55%, the 91st percentile. Fixed in python-js2py 0.70-3.1.mga9.

References

Show 9 moreShow less
MoveEnter Open