Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/62860?format=api",
    "vulnerability_id": "VCID-kn3f-cx36-17h2",
    "summary": "When an iframe has a sandbox attribute and its content is specified using srcdoc, that content does not inherit the containing page's Content Security Policy (CSP) as it should unless the sandbox attribute included allow-same-origin.",
    "aliases": [
        {
            "alias": "CVE-2017-7788"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/371522?format=api",
            "purl": "pkg:alpm/archlinux/firefox@55.0-1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/firefox@55.0-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/582746?format=api",
            "purl": "pkg:deb/debian/firefox@55.0-1?distro=sid",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/firefox@55.0-1%3Fdistro=sid"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/582059?format=api",
            "purl": "pkg:deb/debian/firefox@149.0-1?distro=sid",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/firefox@149.0-1%3Fdistro=sid"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1059611?format=api",
            "purl": "pkg:deb/debian/firefox@149.0.2-1?distro=sid",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/firefox@149.0.2-1%3Fdistro=sid"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/371521?format=api",
            "purl": "pkg:alpm/archlinux/firefox@54.0.1-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-39za-a75a-z7c3"
                },
                {
                    "vulnerability": "VCID-3cbn-278y-hkah"
                },
                {
                    "vulnerability": "VCID-48em-7yxs-pqf9"
                },
                {
                    "vulnerability": "VCID-4rt5-58ue-sufc"
                },
                {
                    "vulnerability": "VCID-6aqn-abjb-skbd"
                },
                {
                    "vulnerability": "VCID-7mvz-mr2e-hyfx"
                },
                {
                    "vulnerability": "VCID-9cje-24ah-p7fk"
                },
                {
                    "vulnerability": "VCID-d7jf-wx4p-cuek"
                },
                {
                    "vulnerability": "VCID-dck1-2x3v-1ygr"
                },
                {
                    "vulnerability": "VCID-eaau-g1uf-73gd"
                },
                {
                    "vulnerability": "VCID-f7ut-fqny-tffr"
                },
                {
                    "vulnerability": "VCID-gf3v-rmys-syex"
                },
                {
                    "vulnerability": "VCID-hd7u-f91y-dqhz"
                },
                {
                    "vulnerability": "VCID-hk7b-ckyd-7qg2"
                },
                {
                    "vulnerability": "VCID-hw2h-w5r2-7qhv"
                },
                {
                    "vulnerability": "VCID-kn3f-cx36-17h2"
                },
                {
                    "vulnerability": "VCID-nmws-nx6k-5qbe"
                },
                {
                    "vulnerability": "VCID-np75-dzzq-8yef"
                },
                {
                    "vulnerability": "VCID-q7jk-b69d-bbav"
                },
                {
                    "vulnerability": "VCID-qetw-2ah7-5ba4"
                },
                {
                    "vulnerability": "VCID-qh1k-c7ct-efg8"
                },
                {
                    "vulnerability": "VCID-s558-4jac-47ft"
                },
                {
                    "vulnerability": "VCID-vgwu-jbjv-xyd1"
                },
                {
                    "vulnerability": "VCID-xzxb-5pq8-9bfd"
                },
                {
                    "vulnerability": "VCID-yk2z-f6vu-93fb"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/firefox@54.0.1-1"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-7788.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.8",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-7788.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2017-7788",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.01918",
                    "scoring_system": "epss",
                    "scoring_elements": "0.8326",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.01918",
                    "scoring_system": "epss",
                    "scoring_elements": "0.83363",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.01918",
                    "scoring_system": "epss",
                    "scoring_elements": "0.8329",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.01918",
                    "scoring_system": "epss",
                    "scoring_elements": "0.83314",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.01918",
                    "scoring_system": "epss",
                    "scoring_elements": "0.83323",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.01918",
                    "scoring_system": "epss",
                    "scoring_elements": "0.83338",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.01918",
                    "scoring_system": "epss",
                    "scoring_elements": "0.83332",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.01918",
                    "scoring_system": "epss",
                    "scoring_elements": "0.83328",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.01918",
                    "scoring_system": "epss",
                    "scoring_elements": "0.83276",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.01918",
                    "scoring_system": "epss",
                    "scoring_elements": "0.83291",
                    "published_at": "2026-04-04T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2017-7788"
        },
        {
            "reference_url": "https://bugzilla.mozilla.org/show_bug.cgi?id=1073952",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.mozilla.org/show_bug.cgi?id=1073952"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.1",
                    "scoring_system": "cvssv2",
                    "scoring_elements": "AV:N/AC:H/Au:N/C:C/I:C/A:N"
                },
                {
                    "value": "5.4",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"
                }
            ],
            "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
        },
        {
            "reference_url": "https://www.mozilla.org/security/advisories/mfsa2017-18/",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.mozilla.org/security/advisories/mfsa2017-18/"
        },
        {
            "reference_url": "http://www.securityfocus.com/bid/100379",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.securityfocus.com/bid/100379"
        },
        {
            "reference_url": "http://www.securitytracker.com/id/1039124",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.securitytracker.com/id/1039124"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1479207",
            "reference_id": "1479207",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1479207"
        },
        {
            "reference_url": "https://security.archlinux.org/ASA-201708-3",
            "reference_id": "ASA-201708-3",
            "reference_type": "",
            "scores": [],
            "url": "https://security.archlinux.org/ASA-201708-3"
        },
        {
            "reference_url": "https://security.archlinux.org/AVG-375",
            "reference_id": "AVG-375",
            "reference_type": "",
            "scores": [
                {
                    "value": "Critical",
                    "scoring_system": "archlinux",
                    "scoring_elements": ""
                }
            ],
            "url": "https://security.archlinux.org/AVG-375"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:mozilla:firefox:*:*:*:*:*:*:*:*",
            "reference_id": "cpe:2.3:a:mozilla:firefox:*:*:*:*:*:*:*:*",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:mozilla:firefox:*:*:*:*:*:*:*:*"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-7788",
            "reference_id": "CVE-2017-7788",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv2",
                    "scoring_elements": "AV:N/AC:L/Au:N/C:P/I:P/A:P"
                },
                {
                    "value": "9.8",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-7788"
        },
        {
            "reference_url": "https://www.mozilla.org/en-US/security/advisories/mfsa2017-18",
            "reference_id": "mfsa2017-18",
            "reference_type": "",
            "scores": [
                {
                    "value": "critical",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://www.mozilla.org/en-US/security/advisories/mfsa2017-18"
        },
        {
            "reference_url": "https://usn.ubuntu.com/3391-1/",
            "reference_id": "USN-3391-1",
            "reference_type": "",
            "scores": [],
            "url": "https://usn.ubuntu.com/3391-1/"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 863,
            "name": "Incorrect Authorization",
            "description": "The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. This allows attackers to bypass intended access restrictions."
        },
        {
            "cwe_id": 74,
            "name": "Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')",
            "description": "The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component."
        }
    ],
    "exploits": [],
    "severity_range_score": "5.4 - 10.0",
    "exploitability": "0.5",
    "weighted_severity": "9.0",
    "risk_score": 4.5,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-kn3f-cx36-17h2"
}