Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/58471?format=api",
    "purl": "pkg:composer/typo3/cms@9.5.287",
    "type": "composer",
    "namespace": "typo3",
    "name": "cms",
    "version": "9.5.287",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "10.4.19",
    "latest_non_vulnerable_version": "12.2.0",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/41234?format=api",
            "vulnerability_id": "VCID-a1g9-pyz5-9fca",
            "summary": "Cross-site Scripting\nTYPO3 contains a cross-site scripting vulnerability. When _Page TSconfig_ settings are not properly encoded, corresponding page preview module (`_Web>View_`) is vulnerable to persistent cross-site scripting. A valid backend user account is needed to exploit this vulnerability. TYPO3 contain a patch for this issue.",
            "references": [
                {
                    "reference_url": "https://typo3.org/security/advisory/typo3-core-sa-2021-009",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://typo3.org/security/advisory/typo3-core-sa-2021-009"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-32667",
                    "reference_id": "CVE-2021-32667",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-32667"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/58457?format=api",
                    "purl": "pkg:composer/typo3/cms@10.4.18",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-2rhr-8vaz-hqfj"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/typo3/cms@10.4.18"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/58458?format=api",
                    "purl": "pkg:composer/typo3/cms@11.3.1",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-2rhr-8vaz-hqfj"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/typo3/cms@11.3.1"
                }
            ],
            "aliases": [
                "CVE-2021-32667",
                "GHSA-8mq9-fqv8-59wf"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-a1g9-pyz5-9fca"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/typo3/cms@9.5.287"
}