Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/67680?format=api",
    "purl": "pkg:composer/symfony/security-http@6.0.0",
    "type": "composer",
    "namespace": "symfony",
    "name": "security-http",
    "version": "6.0.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "2.6.12",
    "latest_non_vulnerable_version": "6.3.8",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/46379?format=api",
            "vulnerability_id": "VCID-4f9e-eg67-cqbr",
            "summary": "Symfony potential Cross-site Scripting vulnerabilities in CodeExtension filters\nSymfony is a PHP framework for web and console applications and a set of reusable PHP components. Starting in versions 2.0.0, 5.0.0, and 6.0.0 and prior to versions 4.4.51, 5.4.31, and 6.3.8, some Twig filters in CodeExtension use `is_safe=html` but don't actually ensure their input is safe. As of versions 4.4.51, 5.4.31, and 6.3.8, Symfony now escapes the output of the affected filters.",
            "references": [
                {
                    "reference_url": "https://github.com/symfony/symfony/commit/5d095d5feb1322b16450284a04d6bb48d1198f54",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/symfony/symfony/commit/5d095d5feb1322b16450284a04d6bb48d1198f54"
                },
                {
                    "reference_url": "https://github.com/symfony/symfony/commit/9da9a145ce57e4585031ad4bee37c497353eec7c",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/symfony/symfony/commit/9da9a145ce57e4585031ad4bee37c497353eec7c"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-46734",
                    "reference_id": "CVE-2023-46734",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-46734"
                },
                {
                    "reference_url": "https://symfony.com/cve-2023-46734",
                    "reference_id": "CVE-2023-46734",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://symfony.com/cve-2023-46734"
                },
                {
                    "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2023-46734.yaml",
                    "reference_id": "CVE-2023-46734.YAML",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2023-46734.yaml"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-q847-2q57-wmr3",
                    "reference_id": "GHSA-q847-2q57-wmr3",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-q847-2q57-wmr3"
                },
                {
                    "reference_url": "https://github.com/symfony/symfony/security/advisories/GHSA-q847-2q57-wmr3",
                    "reference_id": "GHSA-q847-2q57-wmr3",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/symfony/symfony/security/advisories/GHSA-q847-2q57-wmr3"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/67681?format=api",
                    "purl": "pkg:composer/symfony/security-http@6.3.8",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/security-http@6.3.8"
                }
            ],
            "aliases": [
                "CVE-2023-46734",
                "GHSA-q847-2q57-wmr3"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-4f9e-eg67-cqbr"
        },
        {
            "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/67681?format=api",
                    "purl": "pkg:composer/symfony/security-http@6.3.8",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/security-http@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"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/security-http@6.0.0"
}