Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/472?format=api",
    "purl": "pkg:mozilla/Firefox%20for%20iOS@142.0.0",
    "type": "mozilla",
    "namespace": "",
    "name": "Firefox for iOS",
    "version": "142.0.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "143.1.0",
    "latest_non_vulnerable_version": "151.2.0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/693?format=api",
            "vulnerability_id": "VCID-vdbt-j86m-bfgj",
            "summary": "Firefox for iOS would not respect a Content-Disposition header of type Attachment and would incorrectly display the content inline rather than downloading, potentially allowing for XSS attacks",
            "references": [
                {
                    "reference_url": "https://www.mozilla.org/en-US/security/advisories/mfsa2025-68",
                    "reference_id": "mfsa2025-68",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "high",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://www.mozilla.org/en-US/security/advisories/mfsa2025-68"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/472?format=api",
                    "purl": "pkg:mozilla/Firefox%20for%20iOS@142.0.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:mozilla/Firefox%2520for%2520iOS@142.0.0"
                }
            ],
            "aliases": [
                "CVE-2025-55030"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-vdbt-j86m-bfgj"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:mozilla/Firefox%2520for%2520iOS@142.0.0"
}