Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/20536?format=api",
    "vulnerability_id": "VCID-7z2w-xpn7-gbhm",
    "summary": "Moodle does not properly enforce MFA\nA serious authentication flaw allowed attackers with valid credentials to bypass multi-factor authentication under certain conditions, potentially compromising user accounts.",
    "aliases": [
        {
            "alias": "CVE-2025-62398"
        },
        {
            "alias": "GHSA-25wf-7x6c-wmpf"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/69872?format=api",
            "purl": "pkg:composer/moodle/moodle@4.4.11",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/moodle/moodle@4.4.11"
        },
        {
            "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/69877?format=api",
            "purl": "pkg:composer/moodle/moodle@4.4.0-beta",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4uwn-m5xb-8ufn"
                },
                {
                    "vulnerability": "VCID-7r7p-pcsy-ubbj"
                },
                {
                    "vulnerability": "VCID-7xms-9t2c-vbbv"
                },
                {
                    "vulnerability": "VCID-7z2w-xpn7-gbhm"
                },
                {
                    "vulnerability": "VCID-aac8-q8g6-ebfw"
                },
                {
                    "vulnerability": "VCID-cf3k-pt7y-d3c9"
                },
                {
                    "vulnerability": "VCID-eutz-ecg4-b3he"
                },
                {
                    "vulnerability": "VCID-evtb-ua7c-3fed"
                },
                {
                    "vulnerability": "VCID-ewey-azre-s3fh"
                },
                {
                    "vulnerability": "VCID-k45j-wnny-nfa2"
                },
                {
                    "vulnerability": "VCID-mqj9-khvp-2yca"
                },
                {
                    "vulnerability": "VCID-qnbd-sejn-pfgp"
                },
                {
                    "vulnerability": "VCID-rh68-hatq-rqbr"
                },
                {
                    "vulnerability": "VCID-smgv-8j8r-1ba9"
                },
                {
                    "vulnerability": "VCID-xxtt-z6tn-mqc5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/moodle/moodle@4.4.0-beta"
        },
        {
            "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-4uwn-m5xb-8ufn"
                },
                {
                    "vulnerability": "VCID-7z2w-xpn7-gbhm"
                },
                {
                    "vulnerability": "VCID-a6w6-penj-kuds"
                },
                {
                    "vulnerability": "VCID-aac8-q8g6-ebfw"
                },
                {
                    "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-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"
                }
            ],
            "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-62398",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00069",
                    "scoring_system": "epss",
                    "scoring_elements": "0.21364",
                    "published_at": "2026-05-30T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2025-62398"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2404431",
            "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": "5.4",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-10-23T14:57:39Z/"
                }
            ],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2404431"
        },
        {
            "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/67005f8b2098096f4c7ca4f78ab9ce69415d703b",
            "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/67005f8b2098096f4c7ca4f78ab9ce69415d703b"
        },
        {
            "reference_url": "https://github.com/moodle/moodle/commit/a2078f781ae065ca1f781bd159c7615c84afcaa5",
            "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/a2078f781ae065ca1f781bd159c7615c84afcaa5"
        },
        {
            "reference_url": "https://moodle.org/mod/forum/discuss.php?d=470387",
            "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=470387"
        },
        {
            "reference_url": "https://access.redhat.com/security/cve/CVE-2025-62398",
            "reference_id": "CVE-2025-62398",
            "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": "5.4",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-10-23T14:57:39Z/"
                }
            ],
            "url": "https://access.redhat.com/security/cve/CVE-2025-62398"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2025-62398",
            "reference_id": "CVE-2025-62398",
            "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-62398"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-25wf-7x6c-wmpf",
            "reference_id": "GHSA-25wf-7x6c-wmpf",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-25wf-7x6c-wmpf"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 287,
            "name": "Improper Authentication",
            "description": "When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct."
        },
        {
            "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-7z2w-xpn7-gbhm"
}