Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/63416?format=api",
    "purl": "pkg:composer/mantisbt/mantisbt@1.3.9",
    "type": "composer",
    "namespace": "mantisbt",
    "name": "mantisbt",
    "version": "1.3.9",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "1.3.10",
    "latest_non_vulnerable_version": "2.27.2",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/44109?format=api",
            "vulnerability_id": "VCID-f5bu-52kz-57gk",
            "summary": "MantisBT vulnerable to XSS through config_option parameter in adm_config_report.php\nA cross-site scripting (XSS) vulnerability in the MantisBT Configuration Report page (adm_config_report.php) allows remote attackers to inject arbitrary code (if CSP settings permit it) through a crafted 'config_option' parameter. This is fixed in 1.3.9, 2.1.3, and 2.2.3.",
            "references": [
                {
                    "reference_url": "https://github.com/mantisbt/mantisbt",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/mantisbt/mantisbt"
                },
                {
                    "reference_url": "https://github.com/mantisbt/mantisbt/commit/0243375e32bc24878e309f3d6ef6d8cfb3e2f278",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/mantisbt/mantisbt/commit/0243375e32bc24878e309f3d6ef6d8cfb3e2f278"
                },
                {
                    "reference_url": "https://github.com/mantisbt/mantisbt/commit/c9e5b1d0404503022605459552faeaf610bf15ae",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/mantisbt/mantisbt/commit/c9e5b1d0404503022605459552faeaf610bf15ae"
                },
                {
                    "reference_url": "https://github.com/mantisbt/mantisbt/commit/e881dd79df422033bbea88914fc0a717fae40358",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/mantisbt/mantisbt/commit/e881dd79df422033bbea88914fc0a717fae40358"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-7309",
                    "reference_id": "CVE-2017-7309",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-7309"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-4w6c-3hcx-rfj5",
                    "reference_id": "GHSA-4w6c-3hcx-rfj5",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-4w6c-3hcx-rfj5"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/63416?format=api",
                    "purl": "pkg:composer/mantisbt/mantisbt@1.3.9",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/mantisbt/mantisbt@1.3.9"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/63417?format=api",
                    "purl": "pkg:composer/mantisbt/mantisbt@2.1.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/mantisbt/mantisbt@2.1.3"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/63418?format=api",
                    "purl": "pkg:composer/mantisbt/mantisbt@2.2.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/mantisbt/mantisbt@2.2.3"
                }
            ],
            "aliases": [
                "CVE-2017-7309",
                "GHSA-4w6c-3hcx-rfj5"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-f5bu-52kz-57gk"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/mantisbt/mantisbt@1.3.9"
}