SecurityContext

CVE-2024-28397: js2py - Remote Code Execution

  • Cve: CVE-2024-28397
  • Name: js2py - Remote Code Execution
  • 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.
  • Impact: Attackers can execute arbitrary code on the server, leading to full system compromise.
  • Remediation: Update js2py to the latest version where the issue is fixed.
  • Vulnerability type: insecure_deserialization
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.3
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
  • Epss score: 0.04815
  • Epss percentile: 0.92189
  • Assignee: [email protected]
  • Published at: 2024-06-20T17:15:50Z
  • Age in days: 887
  • Modified at: 2026-06-17T07:21:24Z
  • Public exploits total: 17
  • References total: 3
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-28397
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, public exploits capped, products total, products, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-94Improper Control of Generation of Code

Nuclei templates

IdUrl
CVE-2024-28397https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-28397.yaml

Public exploits

Same in every row:

  • Source: poc-in-github
UrlAdded date
https://github.com/y0naldez/CVE-2024-28397-Js2Py-RCE2026-05-12
https://github.com/xeloxa/CVE-2024-28397-Js2Py-RCE-Exploit2026-02-03
https://github.com/3z-p0wn/CVE-2024-28397-exploit2026-01-11
https://github.com/L1337Xi/CVE-2024-28397-Exploit-Automation2025-12-06
https://github.com/somisec/CVE-2024-28397-Reverse-Shell2025-10-12

References

UrlSourceTags
https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-28397.yamlnuclei_templateNuclei Template
https://github.com/Marven11nvd
https://github.com/Marven11/CVE-2024-28397-js2py-Sandbox-Escapenvd

Projects

RepositoryLink kindsIndexedUrl
PiotrDabkowski/Js2Pypackage, pullyes/v1/repositories/PiotrDabkowski/Js2Py

Index

  • Repositories: 5
  • Repositories high signal: 4
  • Packages: 1

Exploitation

  • Exploitation seen: yes
  • Public exploit: yes
  • Public exploit count: 17
  • Public exploit first date: 2024-06-19
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, initial access since, hackerone reports, exposed hosts

Nuclei template