Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/20534?format=api",
    "vulnerability_id": "VCID-de7j-3de2-s3ee",
    "summary": "Moodle's error handling leads to sensitive information disclosure\nAn error-handling issue in the Moodle router (r.php) could cause the application to display internal directory listings when specific HTTP headers were not properly configured.",
    "aliases": [
        {
            "alias": "CVE-2025-62396"
        },
        {
            "alias": "GHSA-c5cj-xp43-qcc3"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/69871?format=api",
            "purl": "pkg:composer/moodle/moodle@4.5.7",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/moodle/moodle@4.5.7"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/69867?format=api",
            "purl": "pkg:composer/moodle/moodle@5.0.3",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/moodle/moodle@5.0.3"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/69870?format=api",
            "purl": "pkg:composer/moodle/moodle@4.5.0-beta",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2h6c-6mgm-akc2"
                },
                {
                    "vulnerability": "VCID-4rt1-tzwg-4kgg"
                },
                {
                    "vulnerability": "VCID-4uwn-m5xb-8ufn"
                },
                {
                    "vulnerability": "VCID-5gaz-3z56-z7h6"
                },
                {
                    "vulnerability": "VCID-5j8c-enhg-2kgw"
                },
                {
                    "vulnerability": "VCID-5pak-k74c-6fda"
                },
                {
                    "vulnerability": "VCID-5wd4-h2bh-vyh9"
                },
                {
                    "vulnerability": "VCID-72zd-5ej9-bba2"
                },
                {
                    "vulnerability": "VCID-7z2w-xpn7-gbhm"
                },
                {
                    "vulnerability": "VCID-9put-kp7s-ybae"
                },
                {
                    "vulnerability": "VCID-a6w6-penj-kuds"
                },
                {
                    "vulnerability": "VCID-aa5b-kczd-a7cz"
                },
                {
                    "vulnerability": "VCID-aac8-q8g6-ebfw"
                },
                {
                    "vulnerability": "VCID-d2nv-u78g-wfab"
                },
                {
                    "vulnerability": "VCID-dd69-413v-qqhf"
                },
                {
                    "vulnerability": "VCID-de7j-3de2-s3ee"
                },
                {
                    "vulnerability": "VCID-eutz-ecg4-b3he"
                },
                {
                    "vulnerability": "VCID-evtb-ua7c-3fed"
                },
                {
                    "vulnerability": "VCID-ewey-azre-s3fh"
                },
                {
                    "vulnerability": "VCID-fcf4-tf5h-hfcr"
                },
                {
                    "vulnerability": "VCID-ftn9-k5y2-w3bs"
                },
                {
                    "vulnerability": "VCID-fxtg-r97u-67eh"
                },
                {
                    "vulnerability": "VCID-hatj-wvm3-rfhc"
                },
                {
                    "vulnerability": "VCID-k45j-wnny-nfa2"
                },
                {
                    "vulnerability": "VCID-kee8-pqk2-kfcj"
                },
                {
                    "vulnerability": "VCID-ku6h-6thp-83fb"
                },
                {
                    "vulnerability": "VCID-n36b-c9ch-6fgr"
                },
                {
                    "vulnerability": "VCID-qh5p-6k6w-qyck"
                },
                {
                    "vulnerability": "VCID-qnbd-sejn-pfgp"
                },
                {
                    "vulnerability": "VCID-rhfu-3c2s-1qf6"
                },
                {
                    "vulnerability": "VCID-rtyx-yt5p-sbdn"
                },
                {
                    "vulnerability": "VCID-s1fh-tmja-6qfe"
                },
                {
                    "vulnerability": "VCID-smgv-8j8r-1ba9"
                },
                {
                    "vulnerability": "VCID-tnmx-z91x-a3cu"
                },
                {
                    "vulnerability": "VCID-vgeq-urx5-mya1"
                },
                {
                    "vulnerability": "VCID-w7x5-qn5z-r3fk"
                },
                {
                    "vulnerability": "VCID-xxtt-z6tn-mqc5"
                },
                {
                    "vulnerability": "VCID-yc6x-egm8-cbgv"
                },
                {
                    "vulnerability": "VCID-ysax-7hvs-mkct"
                },
                {
                    "vulnerability": "VCID-zaff-9ezm-aba1"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/moodle/moodle@4.5.0-beta"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/69866?format=api",
            "purl": "pkg:composer/moodle/moodle@5.0.0-beta",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2h6c-6mgm-akc2"
                },
                {
                    "vulnerability": "VCID-4uwn-m5xb-8ufn"
                },
                {
                    "vulnerability": "VCID-7z2w-xpn7-gbhm"
                },
                {
                    "vulnerability": "VCID-a6w6-penj-kuds"
                },
                {
                    "vulnerability": "VCID-aac8-q8g6-ebfw"
                },
                {
                    "vulnerability": "VCID-cghw-xbkf-juh9"
                },
                {
                    "vulnerability": "VCID-de7j-3de2-s3ee"
                },
                {
                    "vulnerability": "VCID-eutz-ecg4-b3he"
                },
                {
                    "vulnerability": "VCID-evtb-ua7c-3fed"
                },
                {
                    "vulnerability": "VCID-ewey-azre-s3fh"
                },
                {
                    "vulnerability": "VCID-fcf4-tf5h-hfcr"
                },
                {
                    "vulnerability": "VCID-jcxv-jtyh-f7e9"
                },
                {
                    "vulnerability": "VCID-k45j-wnny-nfa2"
                },
                {
                    "vulnerability": "VCID-qnbd-sejn-pfgp"
                },
                {
                    "vulnerability": "VCID-smgv-8j8r-1ba9"
                },
                {
                    "vulnerability": "VCID-xxtt-z6tn-mqc5"
                },
                {
                    "vulnerability": "VCID-ysax-7hvs-mkct"
                },
                {
                    "vulnerability": "VCID-zaff-9ezm-aba1"
                },
                {
                    "vulnerability": "VCID-zd4r-bn1p-27a5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/moodle/moodle@5.0.0-beta"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2025-62396",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00043",
                    "scoring_system": "epss",
                    "scoring_elements": "0.13577",
                    "published_at": "2026-05-30T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2025-62396"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2404429",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2025-10-23T14:12:55Z/"
                }
            ],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2404429"
        },
        {
            "reference_url": "https://github.com/moodle/moodle",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/moodle/moodle"
        },
        {
            "reference_url": "https://github.com/moodle/moodle/commit/5d4910509eeaac8403d18ec8f259e29d2f11527e",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/moodle/moodle/commit/5d4910509eeaac8403d18ec8f259e29d2f11527e"
        },
        {
            "reference_url": "https://github.com/moodle/moodle/commit/5e7d5abc483d0511ebfc2042075eabcc392ff4ce",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/moodle/moodle/commit/5e7d5abc483d0511ebfc2042075eabcc392ff4ce"
        },
        {
            "reference_url": "https://moodle.org/mod/forum/discuss.php?d=470385",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://moodle.org/mod/forum/discuss.php?d=470385"
        },
        {
            "reference_url": "https://access.redhat.com/security/cve/CVE-2025-62396",
            "reference_id": "CVE-2025-62396",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2025-10-23T14:12:55Z/"
                }
            ],
            "url": "https://access.redhat.com/security/cve/CVE-2025-62396"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2025-62396",
            "reference_id": "CVE-2025-62396",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-62396"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-c5cj-xp43-qcc3",
            "reference_id": "GHSA-c5cj-xp43-qcc3",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-c5cj-xp43-qcc3"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 548,
            "name": "Exposure of Information Through Directory Listing",
            "description": "A directory listing is inappropriately exposed, yielding potentially sensitive information to attackers."
        },
        {
            "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-de7j-3de2-s3ee"
}