CVE-2024-36120 json
javascript-deobfuscator crafted payload can lead to code execution
published 2y ago modified 2mo ago also GHSA-9p6p-8v9r-8c9m , EUVD-2024-2007
- cvss
- 8.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 28%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm js-deobfuscator 1.1.0
- ben-sb javascript_deobfuscator 1.1.0
Is CVE-2024-36120 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 2y ago
Exploit prediction
0.35% chance of exploitation in the next 30 days, higher than 28% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.2 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 8.1 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | js-deobfuscator | <1.1.0 |
1.1.0 |
Affected products
- ben-sb javascript-deobfuscator
- ben-sb javascript_deobfuscator
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
-
github.com
/ben-sb/javascript-deobfuscator/commit/630d3caec83d5f31c5f7a07e6fadf613d06699d6
web, patch
-
github.com
/ben-sb/javascript-deobfuscator/security/advisories/GHSA-9p6p-8v9r-8c9m
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-36120
advisory
-
github.com
/ben-sb/javascript-deobfuscator
package
Sources
- CVE List CVE-2024-36120
- GitHub Advisory GHSA-9p6p-8v9r-8c9m
- NVD CVE-2024-36120
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.