{"id":"CVE-2024-36120","published":"2024-05-31T16:29:14Z","modified":"2024-08-02T03:30:12Z","title":"javascript-deobfuscator crafted payload can lead to code execution","vendor":"ben-sb","product":"javascript-deobfuscator","tier":"tail","description":{"text":"javascript-deobfuscator removes common JavaScript obfuscation techniques. In affected versions crafted payloads targeting expression simplification can lead to code execution. This issue has been patched in version 1.1.0. Users are advised to update. Users unable to upgrade should disable the expression simplification feature.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00471,"percentile":0.3296,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/ben-sb/javascript-deobfuscator/security/advisories/GHSA-9p6p-8v9r-8c9m","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ben-sb/javascript-deobfuscator/commit/630d3caec83d5f31c5f7a07e6fadf613d06699d6","tags":["x_refsource_MISC"]}],"priority":{"score":12.3,"factors":[{"name":"EPSS percentile","points":6.59},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"ben-sb","affectedVersions":[{"vendor":"ben-sb","product":"javascript-deobfuscator","versions":["< 1.1.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-05-31T18:29:44.579398Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"js-deobfuscator","vulnerableRanges":["<1.1.0"],"patched":["1.1.0"],"from":["GHSA-9p6p-8v9r-8c9m"],"provenance":"source"}],"summary":{"text":"The javascript-deobfuscator tool from ben-sb contains a code injection flaw in its expression simplification feature, which processes crafted payloads and can lead to code execution. An attacker who supplies a specially crafted payload to the tool can achieve code execution on the local system, with no privileges or user interaction required, and the attack complexity is high.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:51:31Z"},"euvd":{"id":"EUVD-2024-2007","exploited":false,"provenance":"source"}}