Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/65251?format=api",
    "purl": "pkg:composer/craftcms/cms@3.8.6",
    "type": "composer",
    "namespace": "craftcms",
    "name": "cms",
    "version": "3.8.6",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "3.8.15",
    "latest_non_vulnerable_version": "5.9.9",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/45282?format=api",
            "vulnerability_id": "VCID-hm7h-7cu3-8be1",
            "summary": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')\nCraft is a CMS for creating custom digital experiences on the web. The platform does not filter input and encode output in Quick Post validation error message, which can deliver an XSS payload. Old CVE fixed the XSS in label HTML but didn’t fix it when clicking save. This issue was patched in version 4.4.6.",
            "references": [
                {
                    "reference_url": "https://github.com/craftcms/cms/commit/9d0cd0bda7c8a830a3373f8c0f06943e519ac888",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/craftcms/cms/commit/9d0cd0bda7c8a830a3373f8c0f06943e519ac888"
                },
                {
                    "reference_url": "https://github.com/craftcms/cms/releases/tag/4.4.6",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/craftcms/cms/releases/tag/4.4.6"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-33194",
                    "reference_id": "CVE-2023-33194",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-33194"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-3wxg-w96j-8hq9",
                    "reference_id": "GHSA-3wxg-w96j-8hq9",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-3wxg-w96j-8hq9"
                },
                {
                    "reference_url": "https://github.com/craftcms/cms/security/advisories/GHSA-3wxg-w96j-8hq9",
                    "reference_id": "GHSA-3wxg-w96j-8hq9",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/craftcms/cms/security/advisories/GHSA-3wxg-w96j-8hq9"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/65251?format=api",
                    "purl": "pkg:composer/craftcms/cms@3.8.6",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/craftcms/cms@3.8.6"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/65150?format=api",
                    "purl": "pkg:composer/craftcms/cms@4.4.6",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-2vn9-2cs3-vbg3"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/craftcms/cms@4.4.6"
                }
            ],
            "aliases": [
                "CVE-2023-33194",
                "GHSA-3wxg-w96j-8hq9"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-hm7h-7cu3-8be1"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/craftcms/cms@3.8.6"
}