Lookup for vulnerabilities affecting packages.

GET /api/vulnerabilities/30627?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/30627?format=api",
    "vulnerability_id": "VCID-ddtu-tckn-d7b1",
    "summary": "Command Injection\n[electron] A remote code execution vulnerability has been discovered affecting apps with the ability to open nested child windows on Electron versions (3.0.0-beta.6, 2.0.7, 1.8.7, and 1.7.15).",
    "aliases": [
        {
            "alias": "CVE-2018-15685"
        },
        {
            "alias": "GHSA-hv9c-qwqg-qj3v"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56393?format=api",
            "purl": "pkg:npm/electron@1.7.16",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-c9ut-fk1h-gfe4"
                },
                {
                    "vulnerability": "VCID-p3vt-avbt-kyed"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/electron@1.7.16"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56394?format=api",
            "purl": "pkg:npm/electron@1.8.8",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-c9ut-fk1h-gfe4"
                },
                {
                    "vulnerability": "VCID-p3vt-avbt-kyed"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/electron@1.8.8"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/224324?format=api",
            "purl": "pkg:npm/electron@2.0.8-nightly.20180819",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-c9ut-fk1h-gfe4"
                },
                {
                    "vulnerability": "VCID-p3vt-avbt-kyed"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/electron@2.0.8-nightly.20180819"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56395?format=api",
            "purl": "pkg:npm/electron@2.0.8",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-c9ut-fk1h-gfe4"
                },
                {
                    "vulnerability": "VCID-p3vt-avbt-kyed"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/electron@2.0.8"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/224325?format=api",
            "purl": "pkg:npm/electron@3.0.0-beta.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-c9ut-fk1h-gfe4"
                },
                {
                    "vulnerability": "VCID-p3vt-avbt-kyed"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/electron@3.0.0-beta.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/143713?format=api",
            "purl": "pkg:npm/electron@3.0.0-beta.7",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-c9ut-fk1h-gfe4"
                },
                {
                    "vulnerability": "VCID-p3vt-avbt-kyed"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/electron@3.0.0-beta.7"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56396?format=api",
            "purl": "pkg:npm/electron@3.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-c9ut-fk1h-gfe4"
                },
                {
                    "vulnerability": "VCID-p3vt-avbt-kyed"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/electron@3.0.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/6693?format=api",
            "purl": "pkg:npm/electron@1.7.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-c9ut-fk1h-gfe4"
                },
                {
                    "vulnerability": "VCID-ddtu-tckn-d7b1"
                },
                {
                    "vulnerability": "VCID-j8uc-xm2a-8ycr"
                },
                {
                    "vulnerability": "VCID-k443-fc5f-hqg5"
                },
                {
                    "vulnerability": "VCID-my4j-94n3-sqca"
                },
                {
                    "vulnerability": "VCID-p3vt-avbt-kyed"
                },
                {
                    "vulnerability": "VCID-q45t-zcvn-7ua4"
                },
                {
                    "vulnerability": "VCID-t1hv-k819-xfg6"
                },
                {
                    "vulnerability": "VCID-t61m-5a7t-qfht"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/electron@1.7.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56389?format=api",
            "purl": "pkg:npm/electron@1.7.15",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-c9ut-fk1h-gfe4"
                },
                {
                    "vulnerability": "VCID-ddtu-tckn-d7b1"
                },
                {
                    "vulnerability": "VCID-p3vt-avbt-kyed"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/electron@1.7.15"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/6694?format=api",
            "purl": "pkg:npm/electron@1.8.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ddtu-tckn-d7b1"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/electron@1.8.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56390?format=api",
            "purl": "pkg:npm/electron@1.8.7",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-c9ut-fk1h-gfe4"
                },
                {
                    "vulnerability": "VCID-ddtu-tckn-d7b1"
                },
                {
                    "vulnerability": "VCID-p3vt-avbt-kyed"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/electron@1.8.7"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/6695?format=api",
            "purl": "pkg:npm/electron@2.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-c9ut-fk1h-gfe4"
                },
                {
                    "vulnerability": "VCID-ddtu-tckn-d7b1"
                },
                {
                    "vulnerability": "VCID-p3vt-avbt-kyed"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/electron@2.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56391?format=api",
            "purl": "pkg:npm/electron@2.0.7",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-c9ut-fk1h-gfe4"
                },
                {
                    "vulnerability": "VCID-ddtu-tckn-d7b1"
                },
                {
                    "vulnerability": "VCID-p3vt-avbt-kyed"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/electron@2.0.7"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/6696?format=api",
            "purl": "pkg:npm/electron@3.0.0-beta.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-c9ut-fk1h-gfe4"
                },
                {
                    "vulnerability": "VCID-ddtu-tckn-d7b1"
                },
                {
                    "vulnerability": "VCID-p3vt-avbt-kyed"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/electron@3.0.0-beta.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56392?format=api",
            "purl": "pkg:npm/electron@3.0.0-beta.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-c9ut-fk1h-gfe4"
                },
                {
                    "vulnerability": "VCID-ddtu-tckn-d7b1"
                },
                {
                    "vulnerability": "VCID-p3vt-avbt-kyed"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/electron@3.0.0-beta.2"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-15685",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.12681",
                    "scoring_system": "epss",
                    "scoring_elements": "0.94113",
                    "published_at": "2026-06-04T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-15685"
        },
        {
            "reference_url": "https://electronjs.org/blog/web-preferences-fix",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.8",
                    "scoring_system": "cvssv3",
                    "scoring_elements": ""
                },
                {
                    "value": "8.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://electronjs.org/blog/web-preferences-fix"
        },
        {
            "reference_url": "https://github.com/electron/electron",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/electron/electron"
        },
        {
            "reference_url": "https://github.com/electron/electron/commit/519a02d8d4d28e8a467acb40fb26172a80c9454f",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/electron/electron/commit/519a02d8d4d28e8a467acb40fb26172a80c9454f"
        },
        {
            "reference_url": "https://github.com/electron/electron/commit/80221e52d93a96ea704cb6748ead669c55cff504",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/electron/electron/commit/80221e52d93a96ea704cb6748ead669c55cff504"
        },
        {
            "reference_url": "https://github.com/electron/electron/commit/bab968ca776be28791e4dddfd50c86bd5fae62fa",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/electron/electron/commit/bab968ca776be28791e4dddfd50c86bd5fae62fa"
        },
        {
            "reference_url": "https://github.com/electron/electron/commit/ef0a6d9a1c96efc4657c6dd3a6624eba969f095b",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/electron/electron/commit/ef0a6d9a1c96efc4657c6dd3a6624eba969f095b"
        },
        {
            "reference_url": "https://www.contrastsecurity.com/security-influencers/cve-2018-15685",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.8",
                    "scoring_system": "cvssv3",
                    "scoring_elements": ""
                },
                {
                    "value": "8.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://www.contrastsecurity.com/security-influencers/cve-2018-15685"
        },
        {
            "reference_url": "https://www.exploit-db.com/exploits/45272",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://www.exploit-db.com/exploits/45272"
        },
        {
            "reference_url": "https://www.exploit-db.com/exploits/45272/",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.exploit-db.com/exploits/45272/"
        },
        {
            "reference_url": "https://www.npmjs.com/advisories/732",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://www.npmjs.com/advisories/732"
        },
        {
            "reference_url": "https://github.com/nodejs/security-wg/blob/main/vuln/npm/466.json",
            "reference_id": "466",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.8",
                    "scoring_system": "cvssv3",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/nodejs/security-wg/blob/main/vuln/npm/466.json"
        },
        {
            "reference_url": "https://github.com/matt-/CVE-2018-15685",
            "reference_id": "CVE-2018-15685",
            "reference_type": "exploit",
            "scores": [],
            "url": "https://github.com/matt-/CVE-2018-15685"
        },
        {
            "reference_url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/multiple/remote/45272.txt",
            "reference_id": "CVE-2018-15685",
            "reference_type": "exploit",
            "scores": [],
            "url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/multiple/remote/45272.txt"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-15685",
            "reference_id": "CVE-2018-15685",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-15685"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        },
        {
            "cwe_id": 1188,
            "name": "Initialization of a Resource with an Insecure Default",
            "description": "The product initializes or sets a resource with a default that is intended to be changed by the administrator, but the default is not secure."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        }
    ],
    "exploits": [
        {
            "date_added": "2018-08-27",
            "description": "Electron WebPreferences - Remote Code Execution",
            "required_action": null,
            "due_date": null,
            "notes": null,
            "known_ransomware_campaign_use": true,
            "source_date_published": "2018-08-27",
            "exploit_type": "remote",
            "platform": "multiple",
            "source_date_updated": "2018-08-27",
            "data_source": "Exploit-DB",
            "source_url": "https://github.com/matt-/CVE-2018-15685"
        }
    ],
    "severity_range_score": "7.0 - 9.8",
    "exploitability": "0.5",
    "weighted_severity": "8.8",
    "risk_score": 4.4,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ddtu-tckn-d7b1"
}