# CVE-2020-7660: Insecure serialization leading to RCE in serialize-javascript

- Severity: High 8.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/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): 2.98%, higher than 87% of CVEs (2026-12-01)
- Published: 2020-06-01T14:50:55.000Z
- Modified: 2026-06-17T03:25:13.077Z
- Also known as: GHSA-hxcc-f52p-wc94
- Weaknesses: CWE-502
- Assigned by: snyk

## Description

serialize-javascript prior to 3.1.0 allows remote attackers to inject arbitrary code via the function "deleteFunctions" within "index.js".

(As written by CVE List.)

## Affected

- serialize-javascript: All versions prior to version 3.1.0
- serialize-javascript (npm): before 3.1.0
- verizon serialize-javascript: before 3.1.0

## Every score

- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/yahoo/serialize-javascript/commit/f21a6fb3ace2353413761e79717b2d210ba6ccbd> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-7660> (advisory)
- <https://github.com/yahoo/serialize-javascript> (package)

## Sources

- CVE List: [CVE-2020-7660](https://www.cve.org/CVERecord?id=CVE-2020-7660), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-hxcc-f52p-wc94](https://github.com/advisories/GHSA-hxcc-f52p-wc94), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2020-7660](https://nvd.nist.gov/vuln/detail/CVE-2020-7660), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-7660 · Whole record: https://cve.day/CVE-2020-7660.json · Rebuilt by cve.day 2026-11-25T22:57:52.629Z
