Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/52389?format=api",
    "purl": "pkg:composer/codeigniter/framework@3.0.3",
    "type": "composer",
    "namespace": "codeigniter",
    "name": "framework",
    "version": "3.0.3",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "1.4.10",
    "latest_non_vulnerable_version": "4.3.5",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37934?format=api",
            "vulnerability_id": "VCID-8wbz-we3g-x3ep",
            "summary": "Cross-site Scripting\nXSS attack vector in Security Library method `xss_clean()`.",
            "references": [
                {
                    "reference_url": "https://www.codeigniter.com/user_guide/changelog.html#version-3-0-3",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.codeigniter.com/user_guide/changelog.html#version-3-0-3"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/52389?format=api",
                    "purl": "pkg:composer/codeigniter/framework@3.0.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/codeigniter/framework@3.0.3"
                }
            ],
            "aliases": [
                "GMS-2015-65"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-8wbz-we3g-x3ep"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37935?format=api",
            "vulnerability_id": "VCID-gubk-qp7e-h7f4",
            "summary": "XSS vulnerability\nThere's an XSS attack vector in Security Library method `xss_clean()`.",
            "references": [
                {
                    "reference_url": "https://github.com/bcit-ci/CodeIgniter/commit/249580e711d42fe966e52d7bcc0f349ba99a94a3",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/bcit-ci/CodeIgniter/commit/249580e711d42fe966e52d7bcc0f349ba99a94a3"
                },
                {
                    "reference_url": "https://github.com/bcit-ci/CodeIgniter/commit/4fbf2d1a8e2b6d33e92f3f353b05388fd3229bd7",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/bcit-ci/CodeIgniter/commit/4fbf2d1a8e2b6d33e92f3f353b05388fd3229bd7"
                },
                {
                    "reference_url": "https://github.com/bcit-ci/CodeIgniter/commit/71b1b3f5b2dcc0f4b652e9494e9853b82541ac8c",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/bcit-ci/CodeIgniter/commit/71b1b3f5b2dcc0f4b652e9494e9853b82541ac8c"
                },
                {
                    "reference_url": "https://github.com/bcit-ci/CodeIgniter/commit/f0f47da9ae4227968ccc9ee6511bcab526498b4c",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/bcit-ci/CodeIgniter/commit/f0f47da9ae4227968ccc9ee6511bcab526498b4c"
                },
                {
                    "reference_url": "http://www.codeigniter.com/user_guide/changelog.html#version-3-0-3",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.codeigniter.com/user_guide/changelog.html#version-3-0-3"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/52389?format=api",
                    "purl": "pkg:composer/codeigniter/framework@3.0.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/codeigniter/framework@3.0.3"
                }
            ],
            "aliases": [
                "GMS-2015-40"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-gubk-qp7e-h7f4"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/codeigniter/framework@3.0.3"
}