Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/22379?format=api",
    "vulnerability_id": "VCID-smgv-8j8r-1ba9",
    "summary": "Moodle vulnerable to Cross-site Scripting\nA flaw was found in Moodle. This vulnerability, known as Cross-site Scripting (XSS), occurs due to insufficient checks on user-provided data in the formula editor's arithmetic expression fields. A remote attacker could inject malicious code into these fields. When other users view these expressions, the malicious code would execute in their web browsers, potentially compromising their data or leading to unauthorized actions.",
    "aliases": [
        {
            "alias": "CVE-2025-67850"
        },
        {
            "alias": "GHSA-6mmv-f6c6-v6q8"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/72385?format=api",
            "purl": "pkg:composer/moodle/moodle@4.1.22",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/moodle/moodle@4.1.22"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/72384?format=api",
            "purl": "pkg:composer/moodle/moodle@4.4.12",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/moodle/moodle@4.4.12"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/72383?format=api",
            "purl": "pkg:composer/moodle/moodle@4.5.8",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/moodle/moodle@4.5.8"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/72382?format=api",
            "purl": "pkg:composer/moodle/moodle@5.0.4",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/moodle/moodle@5.0.4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/72381?format=api",
            "purl": "pkg:composer/moodle/moodle@5.1.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/moodle/moodle@5.1.1"
        }
    ],
    "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"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/72380?format=api",
            "purl": "pkg:composer/moodle/moodle@5.1.0-beta",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4uwn-m5xb-8ufn"
                },
                {
                    "vulnerability": "VCID-aac8-q8g6-ebfw"
                },
                {
                    "vulnerability": "VCID-eutz-ecg4-b3he"
                },
                {
                    "vulnerability": "VCID-evtb-ua7c-3fed"
                },
                {
                    "vulnerability": "VCID-ewey-azre-s3fh"
                },
                {
                    "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-zaff-9ezm-aba1"
                },
                {
                    "vulnerability": "VCID-zd4r-bn1p-27a5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/moodle/moodle@5.1.0-beta"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2025-67850",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00012",
                    "scoring_system": "epss",
                    "scoring_elements": "0.0175",
                    "published_at": "2026-05-30T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2025-67850"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2423838",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2026-02-04T04:55:48Z/"
                }
            ],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2423838"
        },
        {
            "reference_url": "https://github.com/moodle/moodle",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/moodle/moodle"
        },
        {
            "reference_url": "https://github.com/moodle/moodle/commit/c85f153068a717a3b28bc122e75154bac99e67e1",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/moodle/moodle/commit/c85f153068a717a3b28bc122e75154bac99e67e1"
        },
        {
            "reference_url": "https://moodle.org/mod/forum/discuss.php?d=471300",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://moodle.org/mod/forum/discuss.php?d=471300"
        },
        {
            "reference_url": "https://access.redhat.com/security/cve/CVE-2025-67850",
            "reference_id": "CVE-2025-67850",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2026-02-04T04:55:48Z/"
                }
            ],
            "url": "https://access.redhat.com/security/cve/CVE-2025-67850"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2025-67850",
            "reference_id": "CVE-2025-67850",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-67850"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-6mmv-f6c6-v6q8",
            "reference_id": "GHSA-6mmv-f6c6-v6q8",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-6mmv-f6c6-v6q8"
        }
    ],
    "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": "7.0 - 8.9",
    "exploitability": "0.5",
    "weighted_severity": "8.0",
    "risk_score": 4.0,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-smgv-8j8r-1ba9"
}