Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/6483?format=api",
    "vulnerability_id": "VCID-1141-umpa-zfem",
    "summary": "XXE vulnerability in 'XML2Dict' version 0.2.2 allows an attacker to cause a denial of service.",
    "aliases": [
        {
            "alias": "CVE-2021-25951"
        },
        {
            "alias": "GHSA-gp6m-vqhm-5cm5"
        },
        {
            "alias": "PYSEC-2021-349"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/254363?format=api",
            "purl": "pkg:pypi/xml2dict@0.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1141-umpa-zfem"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/xml2dict@0.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/254364?format=api",
            "purl": "pkg:pypi/xml2dict@0.1.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1141-umpa-zfem"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/xml2dict@0.1.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/254365?format=api",
            "purl": "pkg:pypi/xml2dict@0.2.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1141-umpa-zfem"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/xml2dict@0.2.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/37328?format=api",
            "purl": "pkg:pypi/xml2dict@0.2.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1141-umpa-zfem"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/xml2dict@0.2.2"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-25951",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00307",
                    "scoring_system": "epss",
                    "scoring_elements": "0.53998",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00307",
                    "scoring_system": "epss",
                    "scoring_elements": "0.53964",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00307",
                    "scoring_system": "epss",
                    "scoring_elements": "0.53981",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00307",
                    "scoring_system": "epss",
                    "scoring_elements": "0.5388",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.00307",
                    "scoring_system": "epss",
                    "scoring_elements": "0.53897",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00307",
                    "scoring_system": "epss",
                    "scoring_elements": "0.53926",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00307",
                    "scoring_system": "epss",
                    "scoring_elements": "0.53901",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00307",
                    "scoring_system": "epss",
                    "scoring_elements": "0.53953",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00307",
                    "scoring_system": "epss",
                    "scoring_elements": "0.53952",
                    "published_at": "2026-04-09T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-25951"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-gp6m-vqhm-5cm5",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-gp6m-vqhm-5cm5"
        },
        {
            "reference_url": "https://github.com/mcspring/xml2dict",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "8.7",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/mcspring/xml2dict"
        },
        {
            "reference_url": "https://github.com/mcspring/XML2Dict/tree/master",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "8.7",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/mcspring/XML2Dict/tree/master"
        },
        {
            "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/xml2dict/PYSEC-2021-349.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "8.7",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/pypa/advisory-database/tree/main/vulns/xml2dict/PYSEC-2021-349.yaml"
        },
        {
            "reference_url": "https://pypi.org/project/XML2Dict",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "8.7",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://pypi.org/project/XML2Dict"
        },
        {
            "reference_url": "https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25951",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "8.7",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25951"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-25951",
            "reference_id": "CVE-2021-25951",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "8.7",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-25951"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 611,
            "name": "Improper Restriction of XML External Entity Reference",
            "description": "The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output."
        },
        {
            "cwe_id": 776,
            "name": "Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion')",
            "description": "The product uses XML documents and allows their structure to be defined with a Document Type Definition (DTD), but it does not properly control the number of recursive definitions of entities."
        },
        {
            "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": "7.0 - 8.9",
    "exploitability": "0.5",
    "weighted_severity": "8.0",
    "risk_score": 4.0,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-1141-umpa-zfem"
}