# CVE-2024-36120: javascript-deobfuscator crafted payload can lead to code execution

- Severity: High 8.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 30% of CVEs (2026-12-01)
- Published: 2024-05-31T16:29:14.773Z
- Modified: 2026-09-10T03:50:15.142Z
- Also known as: GHSA-9p6p-8v9r-8c9m
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- ben-sb javascript-deobfuscator: < 1.1.0
- ben-sb javascript_deobfuscator: before 1.1.0
- js-deobfuscator (npm): before 1.1.0
- deobfuscate javascript_deobfuscator: before 1.1.0

## Every score

- GitHub_M: CVSS:3.1 8.2 High `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/ben-sb/javascript-deobfuscator/security/advisories/GHSA-9p6p-8v9r-8c9m> (vendor-advisory, web)
- <https://github.com/ben-sb/javascript-deobfuscator/commit/630d3caec83d5f31c5f7a07e6fadf613d06699d6> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-36120> (advisory)
- <https://github.com/ben-sb/javascript-deobfuscator> (package)

## Sources

- CVE List: [CVE-2024-36120](https://www.cve.org/CVERecord?id=CVE-2024-36120), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-9p6p-8v9r-8c9m](https://github.com/advisories/GHSA-9p6p-8v9r-8c9m), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-36120](https://nvd.nist.gov/vuln/detail/CVE-2024-36120), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-36120 · Whole record: https://cve.day/CVE-2024-36120.json · Rebuilt by cve.day 2026-11-25T22:58:41.328Z
