Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/67699?format=api",
    "purl": "pkg:composer/symfony/webhook@6.3.8",
    "type": "composer",
    "namespace": "symfony",
    "name": "webhook",
    "version": "6.3.8",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "6.3.8",
    "latest_non_vulnerable_version": "6.3.8",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/46378?format=api",
            "vulnerability_id": "VCID-r4d5-zcex-sbee",
            "summary": "Cross-site scripting\nSymfony is a PHP framework for web and console applications and a set of reusable PHP components. Starting in version 6.0.0 and prior to version 6.3.8, the error message in `WebhookController` returns unescaped user-submitted input. As of version 6.3.8, `WebhookController` now does not return any user-submitted input in its response.",
            "references": [
                {
                    "reference_url": "https://github.com/symfony/symfony",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/symfony/symfony"
                },
                {
                    "reference_url": "https://github.com/symfony/symfony/commit/8128c302430394f639e818a7103b3f6815d8d962",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/symfony/symfony/commit/8128c302430394f639e818a7103b3f6815d8d962"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-46735",
                    "reference_id": "CVE-2023-46735",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-46735"
                },
                {
                    "reference_url": "https://symfony.com/cve-2023-46735",
                    "reference_id": "CVE-2023-46735",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://symfony.com/cve-2023-46735"
                },
                {
                    "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2023-46735.yaml",
                    "reference_id": "CVE-2023-46735.YAML",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2023-46735.yaml"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-72x2-5c85-6wmr",
                    "reference_id": "GHSA-72x2-5c85-6wmr",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-72x2-5c85-6wmr"
                },
                {
                    "reference_url": "https://github.com/symfony/symfony/security/advisories/GHSA-72x2-5c85-6wmr",
                    "reference_id": "GHSA-72x2-5c85-6wmr",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/symfony/symfony/security/advisories/GHSA-72x2-5c85-6wmr"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/67699?format=api",
                    "purl": "pkg:composer/symfony/webhook@6.3.8",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/webhook@6.3.8"
                }
            ],
            "aliases": [
                "CVE-2023-46735",
                "GHSA-72x2-5c85-6wmr"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-r4d5-zcex-sbee"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/webhook@6.3.8"
}