Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/44109?format=api",
    "vulnerability_id": "VCID-f5bu-52kz-57gk",
    "summary": "MantisBT vulnerable to XSS through config_option parameter in adm_config_report.php\nA cross-site scripting (XSS) vulnerability in the MantisBT Configuration Report page (adm_config_report.php) allows remote attackers to inject arbitrary code (if CSP settings permit it) through a crafted 'config_option' parameter. This is fixed in 1.3.9, 2.1.3, and 2.2.3.",
    "aliases": [
        {
            "alias": "CVE-2017-7309"
        },
        {
            "alias": "GHSA-4w6c-3hcx-rfj5"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/62991?format=api",
            "purl": "pkg:composer/mantisbt/mantisbt@2.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6tnt-m23j-pyhv"
                },
                {
                    "vulnerability": "VCID-f5bu-52kz-57gk"
                },
                {
                    "vulnerability": "VCID-hz9e-tmbf-uydt"
                },
                {
                    "vulnerability": "VCID-x9k5-hczy-u3cd"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/mantisbt/mantisbt@2.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/63415?format=api",
            "purl": "pkg:composer/mantisbt/mantisbt@2.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-f5bu-52kz-57gk"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/mantisbt/mantisbt@2.2.0"
        }
    ],
    "references": [
        {
            "reference_url": "http://openwall.com/lists/oss-security/2017/03/30/4",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://openwall.com/lists/oss-security/2017/03/30/4"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2017-7309",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.02475",
                    "scoring_system": "epss",
                    "scoring_elements": "0.85552",
                    "published_at": "2026-06-04T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2017-7309"
        },
        {
            "reference_url": "https://github.com/mantisbt/mantisbt",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:H/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/0243375e32bc24878e309f3d6ef6d8cfb3e2f278",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:H/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/0243375e32bc24878e309f3d6ef6d8cfb3e2f278"
        },
        {
            "reference_url": "https://github.com/mantisbt/mantisbt/commit/c9e5b1d0404503022605459552faeaf610bf15ae",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:H/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/c9e5b1d0404503022605459552faeaf610bf15ae"
        },
        {
            "reference_url": "https://github.com/mantisbt/mantisbt/commit/e881dd79df422033bbea88914fc0a717fae40358",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:H/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/e881dd79df422033bbea88914fc0a717fae40358"
        },
        {
            "reference_url": "http://www.mantisbt.org/bugs/view.php?id=22579",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://www.mantisbt.org/bugs/view.php?id=22579"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-7309",
            "reference_id": "CVE-2017-7309",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:H/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-2017-7309"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-4w6c-3hcx-rfj5",
            "reference_id": "GHSA-4w6c-3hcx-rfj5",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-4w6c-3hcx-rfj5"
        }
    ],
    "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": "6.2",
    "risk_score": 3.1,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-f5bu-52kz-57gk"
}