Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/73075?format=api",
    "purl": "pkg:composer/mautic/core@7.0.1",
    "type": "composer",
    "namespace": "mautic",
    "name": "core",
    "version": "7.0.1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.7.0",
    "latest_non_vulnerable_version": "7.0.1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/22805?format=api",
            "vulnerability_id": "VCID-7yzg-g3t9-8ubs",
            "summary": "Mautic is Vulnerable to SQL Injection through Contact Activity API Sorting\nThis advisory addresses a SQL Injection vulnerability in the API endpoint used for retrieving contact activities. A vulnerability exists in the query construction for the Contact Activity timeline where the parameter responsible for determining the sort direction was not strictly validated against an allowlist, potentially allowing authenticated users to inject arbitrary SQL commands via the API.",
            "references": [
                {
                    "reference_url": "https://github.com/mautic/mautic",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/mautic/mautic"
                },
                {
                    "reference_url": "https://github.com/mautic/mautic/releases/tag/5.2.10",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/mautic/mautic/releases/tag/5.2.10"
                },
                {
                    "reference_url": "https://github.com/mautic/mautic/releases/tag/6.0.8",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/mautic/mautic/releases/tag/6.0.8"
                },
                {
                    "reference_url": "https://github.com/mautic/mautic/releases/tag/7.0.1",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/mautic/mautic/releases/tag/7.0.1"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-3105",
                    "reference_id": "CVE-2026-3105",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-3105"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-r5j5-q42h-fc93",
                    "reference_id": "GHSA-r5j5-q42h-fc93",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-r5j5-q42h-fc93"
                },
                {
                    "reference_url": "https://github.com/mautic/mautic/security/advisories/GHSA-r5j5-q42h-fc93",
                    "reference_id": "GHSA-r5j5-q42h-fc93",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/mautic/mautic/security/advisories/GHSA-r5j5-q42h-fc93"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/73073?format=api",
                    "purl": "pkg:composer/mautic/core@5.2.10",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/mautic/core@5.2.10"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/73074?format=api",
                    "purl": "pkg:composer/mautic/core@6.0.8",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/mautic/core@6.0.8"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/73075?format=api",
                    "purl": "pkg:composer/mautic/core@7.0.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/mautic/core@7.0.1"
                }
            ],
            "aliases": [
                "CVE-2026-3105",
                "GHSA-r5j5-q42h-fc93"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-7yzg-g3t9-8ubs"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/mautic/core@7.0.1"
}