CVE-2024-36120
HIGH 7.8CVSS 3.1javascript-deobfuscator crafted payload can lead to code execution
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.
- Published
- 31 May 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-94
- Also known as
- GHSA-9p6p-8v9r-8c9m
- Sources
- NVDJSONOSV GHSA-9p6p-8v9r-8c9mJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | deobfuscate | javascript_deobfuscatorcpe:2.3:a:deobfuscate:javascript_deobfuscator:*:*:*:*:*:*:*:* |
< 1.1.0 | 1.1.0 |
| OSV | npm | js-deobfuscator | < 1.1.0 | 1.1.0 |
References
- https://github.com/ben-sb/javascript-deobfuscator/commit/630d3caec83d5f31c5f7a07e6fadf613d06699d6 · Patch, WEB
- https://github.com/ben-sb/javascript-deobfuscator/security/advisories/GHSA-9p6p-8v9r-8c9m · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-36120 · ADVISORY
- https://github.com/ben-sb/javascript-deobfuscator · PACKAGE
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 31 May 2024)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 4 Jun 2024)