CVE-2020-7660
HIGH 8.1CVSS 3.1Insecure serialization leading to RCE in serialize-javascript
serialize-javascript prior to 3.1.0 allows remote attackers to inject arbitrary code via the function "deleteFunctions" within "index.js".
- Published
- 1 Jun 2020
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-502
- Also known as
- GHSA-hxcc-f52p-wc94
- Sources
- NVDJSONOSV GHSA-hxcc-f52p-wc94JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | verizon | serialize-javascriptcpe:2.3:a:verizon:serialize-javascript:*:*:*:*:*:node.js:*:* |
< 3.1.0 | 3.1.0 |
| OSV | npm | serialize-javascript | < 3.1.0 | 3.1.0 |
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
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 1 Jun 2020)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 11 Aug 2020)