Lookup for vulnerabilities affecting packages.

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

{
    "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.",
    "aliases": [
        {
            "alias": "GHSA-5j8p-438x-rgg5"
        }
    ],
    "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"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/72843?format=api",
            "purl": "pkg:composer/onelogin/php-saml@3.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-qm99-jvw8-vygx"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/onelogin/php-saml@3.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/72844?format=api",
            "purl": "pkg:composer/onelogin/php-saml@4.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-qm99-jvw8-vygx"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/onelogin/php-saml@4.0.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/SAML-Toolkits/php-saml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.3",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "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": [
                {
                    "value": "9.3",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "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": [
                {
                    "value": "9.3",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "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": [
                {
                    "value": "9.3",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "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": [
                {
                    "value": "9.3",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "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": [
                {
                    "value": "9.3",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/robrichards/xmlseclibs/security/advisories/GHSA-c4cc-x928-vjw9"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 1395,
            "name": "Dependency on Vulnerable Third-Party Component",
            "description": "The product has a dependency on a third-party component that contains one or more known vulnerabilities."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        },
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        }
    ],
    "exploits": [],
    "severity_range_score": "9.0 - 10.0",
    "exploitability": "0.5",
    "weighted_severity": "9.0",
    "risk_score": 4.5,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-qm99-jvw8-vygx"
}