CVE-2024-36120 javascript-deobfuscator crafted payload can lead to code execution
HighCVSS 7.8
EPSS 0.35%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
Description
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.
Upgrade path
4 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ben-sb javascript deobfuscator | < 1.1.0 | 1.1.0 | Fixed |
| deobfuscate javascript deobfuscator | < 1.1.0 | 1.1.0 | Fixed |
| npm js-deobfuscator(npm) | < 1.1.0 | 1.1.0 | Fixed |
| ben-sb javascript-deobfuscator | = < 1.1.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm js-deobfuscator(npm) | < 1.1.0 | 1.1.0 |
| ben-sb javascript-deobfuscator | = < 1.1.0 | No fix listed |
| ben-sb javascript deobfuscator | < 1.1.0 | 1.1.0 |
| deobfuscate javascript deobfuscator | < 1.1.0 | 1.1.0 |
References
- https://github.com/ben-sb/javascript-deobfuscator/security/advisories/GHSA-9p6p-8v9r-8c9m vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/ben-sb/javascript-deobfuscator/commit/630d3caec83d5f31c5f7a07e6fadf613d06699d6 patch
- github.com
- github.com product