Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/51878?format=api",
    "vulnerability_id": "VCID-tr7h-vaku-uubb",
    "summary": "Cross-site Scripting\nTeamPass allows Stored XSS by placing a payload in the username field during a login attempt. When an administrator looks at the log of failed logins, the XSS payload will be executed.",
    "aliases": [
        {
            "alias": "CVE-2019-17205"
        },
        {
            "alias": "GHSA-v969-5v7f-pmg2"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/75835?format=api",
            "purl": "pkg:composer/nilsteampassnet/teampass@2.1.27%2B36",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1mcz-gatv-8kdd"
                },
                {
                    "vulnerability": "VCID-6uha-9xh3-byen"
                },
                {
                    "vulnerability": "VCID-6xaq-qp6f-33d8"
                },
                {
                    "vulnerability": "VCID-85px-3199-2bbb"
                },
                {
                    "vulnerability": "VCID-8ewu-9txr-7ucv"
                },
                {
                    "vulnerability": "VCID-mzxw-x6y1-c7fy"
                },
                {
                    "vulnerability": "VCID-tr7h-vaku-uubb"
                },
                {
                    "vulnerability": "VCID-wbx2-9hf9-p7eh"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/nilsteampassnet/teampass@2.1.27%252B36"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2019-17205",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00427",
                    "scoring_system": "epss",
                    "scoring_elements": "0.62748",
                    "published_at": "2026-06-08T12:55:00Z"
                },
                {
                    "value": "0.00427",
                    "scoring_system": "epss",
                    "scoring_elements": "0.62772",
                    "published_at": "2026-06-06T12:55:00Z"
                },
                {
                    "value": "0.00427",
                    "scoring_system": "epss",
                    "scoring_elements": "0.62762",
                    "published_at": "2026-06-09T12:55:00Z"
                },
                {
                    "value": "0.00427",
                    "scoring_system": "epss",
                    "scoring_elements": "0.62718",
                    "published_at": "2026-06-04T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2019-17205"
        },
        {
            "reference_url": "https://github.com/nilsteampassnet/TeamPass",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/nilsteampassnet/TeamPass"
        },
        {
            "reference_url": "https://github.com/nilsteampassnet/TeamPass/issues/2688",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/nilsteampassnet/TeamPass/issues/2688"
        },
        {
            "reference_url": "https://github.com/nilsteampassnet/TeamPass/pull/2739/commits/ecdc6ca5a6e8c4b0b15d48f7e6327bf642fa6312",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/nilsteampassnet/TeamPass/pull/2739/commits/ecdc6ca5a6e8c4b0b15d48f7e6327bf642fa6312"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2019-17205",
            "reference_id": "CVE-2019-17205",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-17205"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-v969-5v7f-pmg2",
            "reference_id": "GHSA-v969-5v7f-pmg2",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-v969-5v7f-pmg2"
        }
    ],
    "weaknesses": [
        {
            "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."
        },
        {
            "cwe_id": 79,
            "name": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
            "description": "The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users."
        },
        {
            "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."
        }
    ],
    "exploits": [],
    "severity_range_score": "4.0 - 6.9",
    "exploitability": "0.5",
    "weighted_severity": "6.2",
    "risk_score": 3.1,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-tr7h-vaku-uubb"
}