Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. js-deobfuscator
  4. ›
  5. CVE-2024-36120

CVE-2024-36120: javascript-deobfuscator crafted payload can lead to code execution

June 4, 2024

javascript-deobfuscator removes common JavaScript obfuscation techniques. Crafted payloads targeting expression simplification can lead to code execution. This issue has been patched in version 1.1.0.

References

  • github.com/advisories/GHSA-9p6p-8v9r-8c9m
  • github.com/ben-sb/javascript-deobfuscator
  • github.com/ben-sb/javascript-deobfuscator/commit/630d3caec83d5f31c5f7a07e6fadf613d06699d6
  • github.com/ben-sb/javascript-deobfuscator/security/advisories/GHSA-9p6p-8v9r-8c9m
  • nvd.nist.gov/vuln/detail/CVE-2024-36120

Code Behaviors & Features

Detect and mitigate CVE-2024-36120 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.1.0

Fixed versions

  • 1.1.0

Solution

Upgrade to version 1.1.0 or above.

Impact 8.1 HIGH

CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

npm/js-deobfuscator/CVE-2024-36120.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:43 +0000.