Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/68178?format=api",
    "vulnerability_id": "VCID-426v-vz22-nqem",
    "summary": "phpMyFAQ before 4.1.2 contains a stored cross-site scripting vulnerability in Utils::parseUrl() that allows authenticated users to inject JavaScript via malformed URLs in comments. Attackers can craft URLs with unescaped quotes to inject event handlers, stealing admin session cookies and achieving full application takeover when visitors view affected FAQ pages.",
    "aliases": [
        {
            "alias": "CVE-2026-46367"
        },
        {
            "alias": "GHSA-9525-27vj-c8r8"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/41355?format=api",
            "purl": "pkg:composer/phpmyfaq/phpmyfaq@4.1.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-mdxy-3bhf-6ybe"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpmyfaq/phpmyfaq@4.1.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/40863?format=api",
            "purl": "pkg:composer/thorsten/phpmyfaq@4.1.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-mdxy-3bhf-6ybe"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/thorsten/phpmyfaq@4.1.2"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/373458?format=api",
            "purl": "pkg:composer/phpmyfaq/phpmyfaq@4.1.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1qwx-htn1-4bg8"
                },
                {
                    "vulnerability": "VCID-426v-vz22-nqem"
                },
                {
                    "vulnerability": "VCID-5pw3-qxh6-6ufr"
                },
                {
                    "vulnerability": "VCID-7tpb-1avq-zfhu"
                },
                {
                    "vulnerability": "VCID-8k51-budg-h3ak"
                },
                {
                    "vulnerability": "VCID-ecpv-3xqn-eqf8"
                },
                {
                    "vulnerability": "VCID-n3tn-cpf3-5qe2"
                },
                {
                    "vulnerability": "VCID-rrz3-kbbd-eyhq"
                },
                {
                    "vulnerability": "VCID-tpbv-urbk-h7gf"
                },
                {
                    "vulnerability": "VCID-txxg-bugj-6bd4"
                },
                {
                    "vulnerability": "VCID-vjqh-59nn-5ude"
                },
                {
                    "vulnerability": "VCID-yckn-74u4-pkaw"
                },
                {
                    "vulnerability": "VCID-zr1w-jzzj-a7gd"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpmyfaq/phpmyfaq@4.1.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/373289?format=api",
            "purl": "pkg:composer/thorsten/phpmyfaq@4.1.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1qwx-htn1-4bg8"
                },
                {
                    "vulnerability": "VCID-426v-vz22-nqem"
                },
                {
                    "vulnerability": "VCID-5pw3-qxh6-6ufr"
                },
                {
                    "vulnerability": "VCID-7tpb-1avq-zfhu"
                },
                {
                    "vulnerability": "VCID-8k51-budg-h3ak"
                },
                {
                    "vulnerability": "VCID-ecpv-3xqn-eqf8"
                },
                {
                    "vulnerability": "VCID-n3tn-cpf3-5qe2"
                },
                {
                    "vulnerability": "VCID-rrz3-kbbd-eyhq"
                },
                {
                    "vulnerability": "VCID-tpbv-urbk-h7gf"
                },
                {
                    "vulnerability": "VCID-txxg-bugj-6bd4"
                },
                {
                    "vulnerability": "VCID-vjqh-59nn-5ude"
                },
                {
                    "vulnerability": "VCID-yckn-74u4-pkaw"
                },
                {
                    "vulnerability": "VCID-zr1w-jzzj-a7gd"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/thorsten/phpmyfaq@4.1.1"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2026-46367",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00012",
                    "scoring_system": "epss",
                    "scoring_elements": "0.01825",
                    "published_at": "2026-06-11T12:55:00Z"
                },
                {
                    "value": "0.00012",
                    "scoring_system": "epss",
                    "scoring_elements": "0.01835",
                    "published_at": "2026-06-14T12:55:00Z"
                },
                {
                    "value": "0.00012",
                    "scoring_system": "epss",
                    "scoring_elements": "0.01827",
                    "published_at": "2026-06-13T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2026-46367"
        },
        {
            "reference_url": "https://github.com/thorsten/phpMyFAQ",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.6",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/thorsten/phpMyFAQ"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-46367",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.6",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-46367"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-9525-27vj-c8r8",
            "reference_id": "GHSA-9525-27vj-c8r8",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-9525-27vj-c8r8"
        },
        {
            "reference_url": "https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-9525-27vj-c8r8",
            "reference_id": "GHSA-9525-27vj-c8r8",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.6",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                },
                {
                    "value": "8.3",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2026-05-16T01:18:54Z/"
                }
            ],
            "url": "https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-9525-27vj-c8r8"
        },
        {
            "reference_url": "https://www.vulncheck.com/advisories/phpmyfaq-stored-xss-via-utils-parseurl-in-comment-rendering",
            "reference_id": "phpmyfaq-stored-xss-via-utils-parseurl-in-comment-rendering",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.6",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N"
                },
                {
                    "value": "8.3",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2026-05-16T01:18:54Z/"
                }
            ],
            "url": "https://www.vulncheck.com/advisories/phpmyfaq-stored-xss-via-utils-parseurl-in-comment-rendering"
        }
    ],
    "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": 116,
            "name": "Improper Encoding or Escaping of Output",
            "description": "The product prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. As a result, the intended structure of the message is not preserved."
        },
        {
            "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-426v-vz22-nqem"
}