Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/72846?format=api",
    "purl": "pkg:composer/onelogin/php-saml@3.8.1",
    "type": "composer",
    "namespace": "onelogin",
    "name": "php-saml",
    "version": "3.8.1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.10.0",
    "latest_non_vulnerable_version": "4.3.1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/49378?format=api",
            "vulnerability_id": "VCID-qm99-jvw8-vygx",
            "summary": "SAML PHP Toolkit Vulnerability on xmlseclibs CVE-2025-66475\n**Summary**\n\nThere is a critical vulnerability on xmlseclibs [CVE-2025-66475](https://github.com/robrichards/xmlseclibs/security/advisories/GHSA-c4cc-x928-vjw9), a dependency of php-saml\n\nUpdate to the following versions of php-saml which forces the use of patched versions of xmlseclibs:\n- [2.21.1](https://github.com/SAML-Toolkits/php-saml/releases/tag/2.21.1)\n- [3.8.1](https://github.com/SAML-Toolkits/php-saml/releases/tag/3.8.1)\n- [4.3.1](https://github.com/SAML-Toolkits/php-saml/releases/tag/4.3.1)\n\n\n**Impact**\n\nSignature Wrapping Vulnerabilities allows an attacker to impersonate a user.",
            "references": [
                {
                    "reference_url": "https://github.com/SAML-Toolkits/php-saml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/SAML-Toolkits/php-saml"
                },
                {
                    "reference_url": "https://github.com/SAML-Toolkits/php-saml/releases/tag/2.21.1",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/SAML-Toolkits/php-saml/releases/tag/2.21.1"
                },
                {
                    "reference_url": "https://github.com/SAML-Toolkits/php-saml/releases/tag/3.8.1",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/SAML-Toolkits/php-saml/releases/tag/3.8.1"
                },
                {
                    "reference_url": "https://github.com/SAML-Toolkits/php-saml/releases/tag/4.3.1",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/SAML-Toolkits/php-saml/releases/tag/4.3.1"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-5j8p-438x-rgg5",
                    "reference_id": "GHSA-5j8p-438x-rgg5",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-5j8p-438x-rgg5"
                },
                {
                    "reference_url": "https://github.com/SAML-Toolkits/php-saml/security/advisories/GHSA-5j8p-438x-rgg5",
                    "reference_id": "GHSA-5j8p-438x-rgg5",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/SAML-Toolkits/php-saml/security/advisories/GHSA-5j8p-438x-rgg5"
                },
                {
                    "reference_url": "https://github.com/robrichards/xmlseclibs/security/advisories/GHSA-c4cc-x928-vjw9",
                    "reference_id": "GHSA-c4cc-x928-vjw9",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/robrichards/xmlseclibs/security/advisories/GHSA-c4cc-x928-vjw9"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/72845?format=api",
                    "purl": "pkg:composer/onelogin/php-saml@2.21.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/onelogin/php-saml@2.21.1"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/72846?format=api",
                    "purl": "pkg:composer/onelogin/php-saml@3.8.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/onelogin/php-saml@3.8.1"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/72847?format=api",
                    "purl": "pkg:composer/onelogin/php-saml@4.3.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/onelogin/php-saml@4.3.1"
                }
            ],
            "aliases": [
                "GHSA-5j8p-438x-rgg5"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-qm99-jvw8-vygx"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/onelogin/php-saml@3.8.1"
}