Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/19751?format=api",
    "vulnerability_id": "VCID-m5ku-7vgc-ykgh",
    "summary": "phpMyFAQ Stored Cross-site Scripting at FAQ News Content\nBy manipulating the news parameter in a POST request, an attacker can inject malicious JavaScript code. Upon browsing to the compromised news page, the XSS payload triggers.",
    "aliases": [
        {
            "alias": "CVE-2024-28106"
        },
        {
            "alias": "GHSA-6p68-36m6-392r"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/68336?format=api",
            "purl": "pkg:composer/phpmyfaq/phpmyfaq@3.2.6",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpmyfaq/phpmyfaq@3.2.6"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/67573?format=api",
            "purl": "pkg:composer/phpmyfaq/phpmyfaq@3.2.5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-72u7-dj18-9fbm"
                },
                {
                    "vulnerability": "VCID-d678-pqyj-a3dv"
                },
                {
                    "vulnerability": "VCID-du6p-ymwg-c3h6"
                },
                {
                    "vulnerability": "VCID-jy6x-1pbg-mbcm"
                },
                {
                    "vulnerability": "VCID-m5ku-7vgc-ykgh"
                },
                {
                    "vulnerability": "VCID-qwc2-jydq-73ft"
                },
                {
                    "vulnerability": "VCID-rdsy-9m5y-sqc7"
                },
                {
                    "vulnerability": "VCID-sr2g-ufwh-wubs"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpmyfaq/phpmyfaq@3.2.5"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2024-28106",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00157",
                    "scoring_system": "epss",
                    "scoring_elements": "0.36202",
                    "published_at": "2026-05-30T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2024-28106"
        },
        {
            "reference_url": "https://github.com/thorsten/phpMyFAQ",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/thorsten/phpMyFAQ"
        },
        {
            "reference_url": "https://github.com/thorsten/phpMyFAQ/commit/c94b3deadd87789389e1fad162bc3dd595c0e15a",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/thorsten/phpMyFAQ/commit/c94b3deadd87789389e1fad162bc3dd595c0e15a"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-28106",
            "reference_id": "CVE-2024-28106",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-28106"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-6p68-36m6-392r",
            "reference_id": "GHSA-6p68-36m6-392r",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-6p68-36m6-392r"
        },
        {
            "reference_url": "https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-6p68-36m6-392r",
            "reference_id": "GHSA-6p68-36m6-392r",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-6p68-36m6-392r"
        }
    ],
    "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": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-m5ku-7vgc-ykgh"
}