Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/1824?format=api",
    "vulnerability_id": "VCID-agj1-b2vv-y7ej",
    "summary": "SVG's <use> element could have been used to load unexpected content that could have executed script in certain circumstances. While the specification seems to allow this, other browsers do not, and web developers relied on this property for script security so gecko's implementation was aligned with theirs.",
    "aliases": [
        {
            "alias": "CVE-2022-28284"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/2088?format=api",
            "purl": "pkg:alpm/archlinux/firefox@99.0-1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/firefox@99.0-1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/2087?format=api",
            "purl": "pkg:alpm/archlinux/firefox@98.0.2-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3qt5-w1we-67hp"
                },
                {
                    "vulnerability": "VCID-8mym-k9vn-kkcz"
                },
                {
                    "vulnerability": "VCID-agj1-b2vv-y7ej"
                },
                {
                    "vulnerability": "VCID-bv8a-p6r5-17cz"
                },
                {
                    "vulnerability": "VCID-du9t-tmex-akfm"
                },
                {
                    "vulnerability": "VCID-fmy7-eawb-5ud7"
                },
                {
                    "vulnerability": "VCID-gphr-qsyj-63gz"
                },
                {
                    "vulnerability": "VCID-nm7b-hwnd-eud6"
                },
                {
                    "vulnerability": "VCID-nwsq-gzra-v3b4"
                },
                {
                    "vulnerability": "VCID-rdaw-zju9-2kbq"
                },
                {
                    "vulnerability": "VCID-zhwx-775r-t7fy"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/firefox@98.0.2-1"
        }
    ],
    "references": [
        {
            "reference_url": "https://security.archlinux.org/AVG-2711",
            "reference_id": "AVG-2711",
            "reference_type": "",
            "scores": [
                {
                    "value": "High",
                    "scoring_system": "archlinux",
                    "scoring_elements": ""
                }
            ],
            "url": "https://security.archlinux.org/AVG-2711"
        },
        {
            "reference_url": "https://www.mozilla.org/en-US/security/advisories/mfsa2022-13",
            "reference_id": "mfsa2022-13",
            "reference_type": "",
            "scores": [
                {
                    "value": "high",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://www.mozilla.org/en-US/security/advisories/mfsa2022-13"
        }
    ],
    "weaknesses": [],
    "exploits": [],
    "severity_range_score": "7.0 - 8.9",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-agj1-b2vv-y7ej"
}