javascript-deobfuscator crafted payload can lead to code execution
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-94.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| ben-sb | javascript-deobfuscator | before 1.1.0 | 1.1.0 | Patch available | CNA |
| — | js-deobfuscator (npm) | before 1.1.0 | 1.1.0 | Patch available | GHSA-9p6p-8v9r-8c9m |
- javascript-deobfuscator Vendorben-sb Affected before 1.1.0 Fixed in 1.1.0 Patch available CNA
- js-deobfuscator (npm) Vendor— Affected before 1.1.0 Fixed in 1.1.0 Patch available GHSA-9p6p-8v9r-8c9m
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:deobfuscate:javascript_deobfuscator:*:*:*:*:*:*:*:* | before 1.1.0 | Vulnerable | Deobfuscate |
- cpe:2.3:a:deobfuscate:javascript_deobfuscator:*:*:*:*:*:*:*:* Versions before 1.1.0 Vulnerable ·Deobfuscate
Remediation
- Fix · CNA javascript-deobfuscator (ben-sb) Fixed in 1.1.0
- Fix · GHSA-9p6p-8v9r-8c9m js-deobfuscator (npm) Fixed in 1.1.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-36120
- 2026-10-03 Alias added: GHSA-9p6p-8v9r-8c9m
References
Patch 1
Advisory 2
Sources
- CVE-2024-36120 · CVE Program
- CVE-2024-36120 · NVD
- FIRST EPSS
- GHSA-9p6p-8v9r-8c9m · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences