Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/16334?format=api",
    "vulnerability_id": "VCID-jb3c-s41f-4yg6",
    "summary": "MantisBT allows XSS via the Manage Filter page\nA cross-site scripting (XSS) vulnerability in the Manage Filters page (manage_filter_page.php) in MantisBT 2.1.0 through 2.17.1 allows remote attackers (if access rights permit it) to inject arbitrary code (if CSP settings permit it) through a crafted project name.",
    "aliases": [
        {
            "alias": "CVE-2018-17782"
        },
        {
            "alias": "GHSA-ggjm-7m5f-7xjv"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/61853?format=api",
            "purl": "pkg:composer/mantisbt/mantisbt@2.17.2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/mantisbt/mantisbt@2.17.2"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/61852?format=api",
            "purl": "pkg:composer/mantisbt/mantisbt@2.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-23t9-317h-4fem"
                },
                {
                    "vulnerability": "VCID-3c1s-612q-jbgg"
                },
                {
                    "vulnerability": "VCID-9xcr-u6rc-tqg3"
                },
                {
                    "vulnerability": "VCID-c84s-tzab-2qev"
                },
                {
                    "vulnerability": "VCID-jb3c-s41f-4yg6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/mantisbt/mantisbt@2.1.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-17782",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00177",
                    "scoring_system": "epss",
                    "scoring_elements": "0.38946",
                    "published_at": "2026-05-30T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-17782"
        },
        {
            "reference_url": "https://github.com/mantisbt/mantisbt",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.4",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/mantisbt/mantisbt"
        },
        {
            "reference_url": "https://github.com/mantisbt/mantisbt/commit/72ab020a42a35fd341e983a25849f8277bb34044",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.4",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/mantisbt/mantisbt/commit/72ab020a42a35fd341e983a25849f8277bb34044"
        },
        {
            "reference_url": "https://mantisbt.org/blog/archives/mantisbt/613",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.4",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://mantisbt.org/blog/archives/mantisbt/613"
        },
        {
            "reference_url": "https://mantisbt.org/bugs/view.php?id=24813",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.4",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://mantisbt.org/bugs/view.php?id=24813"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-17782",
            "reference_id": "CVE-2018-17782",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.4",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/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-2018-17782"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-ggjm-7m5f-7xjv",
            "reference_id": "GHSA-ggjm-7m5f-7xjv",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-ggjm-7m5f-7xjv"
        }
    ],
    "weaknesses": [
        {
            "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."
        },
        {
            "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": "4.0 - 6.9",
    "exploitability": "0.5",
    "weighted_severity": "0.0",
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-jb3c-s41f-4yg6"
}