Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/212923?format=api",
    "vulnerability_id": "VCID-9sa2-gsy6-pqbm",
    "summary": "By navigating a tab using the history API, an attacker could cause the address bar to display the incorrect domain (with the https:// scheme, a blocked port number such as '1', and without a lock icon) while controlling the page contents. This vulnerability affects Firefox < 70.",
    "aliases": [
        {
            "alias": "CVE-2020-12412"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/40951?format=api",
            "purl": "pkg:deb/debian/firefox@70.0-1?distro=sid",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/firefox@70.0-1%3Fdistro=sid"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/40570?format=api",
            "purl": "pkg:deb/debian/firefox@151.0.4-1?distro=sid",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/firefox@151.0.4-1%3Fdistro=sid"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-12412.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.3",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-12412.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-12412",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00284",
                    "scoring_system": "epss",
                    "scoring_elements": "0.52125",
                    "published_at": "2026-06-11T12:55:00Z"
                },
                {
                    "value": "0.00284",
                    "scoring_system": "epss",
                    "scoring_elements": "0.52255",
                    "published_at": "2026-06-12T12:55:00Z"
                },
                {
                    "value": "0.00284",
                    "scoring_system": "epss",
                    "scoring_elements": "0.52266",
                    "published_at": "2026-06-13T12:55:00Z"
                },
                {
                    "value": "0.00284",
                    "scoring_system": "epss",
                    "scoring_elements": "0.52248",
                    "published_at": "2026-06-14T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-12412"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1855560",
            "reference_id": "1855560",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1855560"
        },
        {
            "reference_url": "https://www.mozilla.org/en-US/security/advisories/mfsa2019-34",
            "reference_id": "mfsa2019-34",
            "reference_type": "",
            "scores": [
                {
                    "value": "critical",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://www.mozilla.org/en-US/security/advisories/mfsa2019-34"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 601,
            "name": "URL Redirection to Untrusted Site ('Open Redirect')",
            "description": "A web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a Redirect. This simplifies phishing attacks."
        }
    ],
    "exploits": [],
    "severity_range_score": "4.3 - 10.0",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-9sa2-gsy6-pqbm"
}