Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/62875?format=api",
    "vulnerability_id": "VCID-qc2y-5tzg-ruav",
    "summary": "JavaScript can be injected into an exported bookmarks file by placing JavaScript code into user-supplied tags in saved bookmarks. If the resulting exported HTML file is later opened in a browser this JavaScript will be executed. This could be used in social engineering and self-cross-site-scripting (self-XSS) attacks if users were convinced to add malicious tags to bookmarks, export them, and then open the resulting file.",
    "aliases": [
        {
            "alias": "CVE-2017-7840"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/371492?format=api",
            "purl": "pkg:alpm/archlinux/firefox@57.0-1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/firefox@57.0-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/583476?format=api",
            "purl": "pkg:deb/debian/firefox@57.0-1?distro=sid",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/firefox@57.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"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1076056?format=api",
            "purl": "pkg:deb/debian/firefox@150.0-1?distro=sid",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/firefox@150.0-1%3Fdistro=sid"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1088670?format=api",
            "purl": "pkg:deb/debian/firefox@150.0.1-1?distro=sid",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/firefox@150.0.1-1%3Fdistro=sid"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1105248?format=api",
            "purl": "pkg:deb/debian/firefox@150.0.2-1?distro=sid",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/firefox@150.0.2-1%3Fdistro=sid"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1112518?format=api",
            "purl": "pkg:deb/debian/firefox@150.0.3-1?distro=sid",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/firefox@150.0.3-1%3Fdistro=sid"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/371491?format=api",
            "purl": "pkg:alpm/archlinux/firefox@56.0.2-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2xza-hhmr-5ybw"
                },
                {
                    "vulnerability": "VCID-4437-azu7-hyhb"
                },
                {
                    "vulnerability": "VCID-6a4w-c6p8-affn"
                },
                {
                    "vulnerability": "VCID-7xac-5zdj-9fgk"
                },
                {
                    "vulnerability": "VCID-bk86-keag-kfg8"
                },
                {
                    "vulnerability": "VCID-dhyh-m8p3-ebdq"
                },
                {
                    "vulnerability": "VCID-e4pk-uyeh-xfgk"
                },
                {
                    "vulnerability": "VCID-ebzs-h9p8-tbb4"
                },
                {
                    "vulnerability": "VCID-gkrs-1aat-efhf"
                },
                {
                    "vulnerability": "VCID-ka31-epgw-2kcq"
                },
                {
                    "vulnerability": "VCID-kg3p-hut6-47f6"
                },
                {
                    "vulnerability": "VCID-qc2y-5tzg-ruav"
                },
                {
                    "vulnerability": "VCID-wwjw-cqjk-8qe2"
                },
                {
                    "vulnerability": "VCID-xn3a-bun2-vkhy"
                },
                {
                    "vulnerability": "VCID-y92g-afff-2ua7"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/firefox@56.0.2-1"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2017-7840",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00633",
                    "scoring_system": "epss",
                    "scoring_elements": "0.70527",
                    "published_at": "2026-05-14T12:55:00Z"
                },
                {
                    "value": "0.00633",
                    "scoring_system": "epss",
                    "scoring_elements": "0.7028",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.00633",
                    "scoring_system": "epss",
                    "scoring_elements": "0.70408",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.00633",
                    "scoring_system": "epss",
                    "scoring_elements": "0.70449",
                    "published_at": "2026-05-11T12:55:00Z"
                },
                {
                    "value": "0.00633",
                    "scoring_system": "epss",
                    "scoring_elements": "0.7048",
                    "published_at": "2026-05-09T12:55:00Z"
                },
                {
                    "value": "0.00633",
                    "scoring_system": "epss",
                    "scoring_elements": "0.70475",
                    "published_at": "2026-05-12T12:55:00Z"
                },
                {
                    "value": "0.00633",
                    "scoring_system": "epss",
                    "scoring_elements": "0.70293",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00633",
                    "scoring_system": "epss",
                    "scoring_elements": "0.7031",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00633",
                    "scoring_system": "epss",
                    "scoring_elements": "0.70288",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00633",
                    "scoring_system": "epss",
                    "scoring_elements": "0.70333",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00633",
                    "scoring_system": "epss",
                    "scoring_elements": "0.70348",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00633",
                    "scoring_system": "epss",
                    "scoring_elements": "0.70371",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00633",
                    "scoring_system": "epss",
                    "scoring_elements": "0.70356",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00633",
                    "scoring_system": "epss",
                    "scoring_elements": "0.70342",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00633",
                    "scoring_system": "epss",
                    "scoring_elements": "0.70385",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00633",
                    "scoring_system": "epss",
                    "scoring_elements": "0.70395",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00633",
                    "scoring_system": "epss",
                    "scoring_elements": "0.70375",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00633",
                    "scoring_system": "epss",
                    "scoring_elements": "0.70427",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00633",
                    "scoring_system": "epss",
                    "scoring_elements": "0.70436",
                    "published_at": "2026-04-29T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2017-7840"
        },
        {
            "reference_url": "https://bugzilla.mozilla.org/show_bug.cgi?id=1366420",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.mozilla.org/show_bug.cgi?id=1366420"
        },
        {
            "reference_url": "https://www.mozilla.org/security/advisories/mfsa2017-24/",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.mozilla.org/security/advisories/mfsa2017-24/"
        },
        {
            "reference_url": "http://www.securityfocus.com/bid/101832",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.securityfocus.com/bid/101832"
        },
        {
            "reference_url": "http://www.securitytracker.com/id/1039803",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.securitytracker.com/id/1039803"
        },
        {
            "reference_url": "https://security.archlinux.org/ASA-201711-23",
            "reference_id": "ASA-201711-23",
            "reference_type": "",
            "scores": [],
            "url": "https://security.archlinux.org/ASA-201711-23"
        },
        {
            "reference_url": "https://security.archlinux.org/AVG-494",
            "reference_id": "AVG-494",
            "reference_type": "",
            "scores": [
                {
                    "value": "Critical",
                    "scoring_system": "archlinux",
                    "scoring_elements": ""
                }
            ],
            "url": "https://security.archlinux.org/AVG-494"
        },
        {
            "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-7840",
            "reference_id": "CVE-2017-7840",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.3",
                    "scoring_system": "cvssv2",
                    "scoring_elements": "AV:N/AC:M/Au:N/C:N/I:P/A:N"
                },
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-7840"
        },
        {
            "reference_url": "https://www.mozilla.org/en-US/security/advisories/mfsa2017-24",
            "reference_id": "mfsa2017-24",
            "reference_type": "",
            "scores": [
                {
                    "value": "critical",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://www.mozilla.org/en-US/security/advisories/mfsa2017-24"
        },
        {
            "reference_url": "https://usn.ubuntu.com/3477-1/",
            "reference_id": "USN-3477-1",
            "reference_type": "",
            "scores": [],
            "url": "https://usn.ubuntu.com/3477-1/"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 79,
            "name": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
            "description": "The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users."
        }
    ],
    "exploits": [],
    "severity_range_score": "4.3 - 10.0",
    "exploitability": "0.5",
    "weighted_severity": "9.0",
    "risk_score": 4.5,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-qc2y-5tzg-ruav"
}