Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/67984?format=api",
    "purl": "pkg:composer/automattic/jetpack@12.8.0-a.1",
    "type": "composer",
    "namespace": "automattic",
    "name": "jetpack",
    "version": "12.8.0-a.1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "12.1.1",
    "latest_non_vulnerable_version": "12.8.0-a.3",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/46521?format=api",
            "vulnerability_id": "VCID-yxqk-uu9k-z7h1",
            "summary": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Automattic Jetpack – WP Security, Backup, Speed, & Growth allows Stored XSS.This issue affects Jetpack – WP Security, Backup, Speed, & Growth: from n/a through 12.8-a.1.",
            "references": [
                {
                    "reference_url": "https://patchstack.com/articles/authenticated-stored-xss-in-woocommerce-and-jetpack-plugin?_s_id=cve",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://patchstack.com/articles/authenticated-stored-xss-in-woocommerce-and-jetpack-plugin?_s_id=cve"
                },
                {
                    "reference_url": "https://patchstack.com/database/vulnerability/jetpack/wordpress-jetpack-plugin-12-8-a-1-cross-site-scripting-xss-vulnerability?_s_id=cve",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://patchstack.com/database/vulnerability/jetpack/wordpress-jetpack-plugin-12-8-a-1-cross-site-scripting-xss-vulnerability?_s_id=cve"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-45050",
                    "reference_id": "CVE-2023-45050",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-45050"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/67985?format=api",
                    "purl": "pkg:composer/automattic/jetpack@12.8.0-a.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/automattic/jetpack@12.8.0-a.3"
                }
            ],
            "aliases": [
                "CVE-2023-45050"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-yxqk-uu9k-z7h1"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/automattic/jetpack@12.8.0-a.1"
}