Vulnerability · Published Jun 20, 2024 · Assigned by mitre
CVE-2024-28397
Medium 5.3
In plain English
A medium-severity code injection in the js2py package (PyPI). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 4.5% (higher than 92% of all known vulnerabilities). Ready-made attack tooling exists: Metasploit, Nuclei, public proof-of-concept code.
Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)4.5%top 8.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling3Metasploit, Nuclei, Public PoC
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | js2py | no fix listed | GHSA-h95x-26f3-88hr |
| PyPI | js2py | no fix listed | PYSEC-2026-1476 |
| Ubuntu:24.04:LTS | python-cloudscraper | no fix listed | UBUNTU-CVE-2024-28397 |
| Ubuntu:25.10 | python-cloudscraper | no fix listed | UBUNTU-CVE-2024-28397 |
| Ubuntu:26.04:LTS | python-cloudscraper | no fix listed | UBUNTU-CVE-2024-28397 |
| Ubuntu:26.10 | python-cloudscraper | no fix listed | UBUNTU-CVE-2024-28397 |
Affected products (as reported)
Weakness: CWE-94 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L