High
Security advisory
serialize-javascript prior to 3.1.0 allows remote attackers to inject arbitrary code via the function "deleteFunctions" within "index.js".
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-7660
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:14 UTC · Revision 1
Source evidence
serialize-javascript prior to 3.1.0 allows remote attackers to inject arbitrary code via the function "deleteFunctions" within "index.js".
osv:CVE-2020-7660
Complete source record
{
"id": "2c7d5c5a1df76ec9e9ef1c69bee63b57468240954ff1bfba09dfcf041c295fa1",
"url": "https://osv.dev/vulnerability/CVE-2020-7660",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-7660",
"summary": "serialize-javascript prior to 3.1.0 allows remote attackers to inject arbitrary code via the function \"deleteFunctions\" within \"index.js\".",
"evidence": "osv:CVE-2020-7660",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2020-7660",
"aliases": [
"CVE-2020-7660",
"GHSA-hxcc-f52p-wc94"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/yahoo/serialize-javascript",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "b54341e3f4be20b415148219767049173f0974d8"
},
{
"fixed": "f21a6fb3ace2353413761e79717b2d210ba6ccbd"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:verizon:serialize-javascript:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "3.1.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "f21a6fb3ace2353413761e79717b2d210ba6ccbd"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v3.0.0",
"v2.1.2",
"v2.1.1",
"v2.1.0",
"v2.0.0",
"v1.9.1",
"v1.9.0",
"v1.8.0",
"v1.7.0",
"v1.6.1",
"v1.6.0",
"v1.5.0",
"v1.4.0",
"v1.3.0",
"v1.2.0",
"v1.1.2",
"v1.1.1",
"v1.1.0",
"v1.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-7660.json"
}
}
],
"modified": "2026-10-20T10:53:30.678741985Z",
"provider": "osv",
"references": [
"https://github.com/yahoo/serialize-javascript/commit/f21a6fb3ace2353413761e79717b2d210ba6ccbd"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2020-7660",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 384385,
"published_at": "2020-06-01T15:15:14.76+00:00"
}