Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/17134?format=api",
    "vulnerability_id": "VCID-u1r6-67qc-37cg",
    "summary": "Cross-Site Request Forgery (CSRF)\nThe link to reset all templates of a database activity does not include the necessary token to prevent a CSRF risk.",
    "aliases": [
        {
            "alias": "CVE-2023-28335"
        },
        {
            "alias": "GHSA-wxmq-v9gx-75pg"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/63204?format=api",
            "purl": "pkg:composer/moodle/moodle@4.1.2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/moodle/moodle@4.1.2"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/62815?format=api",
            "purl": "pkg:composer/moodle/moodle@4.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1vxe-caqu-kqab"
                },
                {
                    "vulnerability": "VCID-3898-265t-1yd5"
                },
                {
                    "vulnerability": "VCID-3pgc-yptg-tuaa"
                },
                {
                    "vulnerability": "VCID-4bfr-preb-afas"
                },
                {
                    "vulnerability": "VCID-4k5r-agwn-ruea"
                },
                {
                    "vulnerability": "VCID-57pd-ath8-1yf9"
                },
                {
                    "vulnerability": "VCID-5gh4-58jt-dfet"
                },
                {
                    "vulnerability": "VCID-5v9k-wk4u-uuf9"
                },
                {
                    "vulnerability": "VCID-91z3-7wza-c7gs"
                },
                {
                    "vulnerability": "VCID-97gg-fuah-jqcq"
                },
                {
                    "vulnerability": "VCID-9rv1-hn65-dbhe"
                },
                {
                    "vulnerability": "VCID-a195-b6wc-xkbv"
                },
                {
                    "vulnerability": "VCID-a8pk-18gr-mubw"
                },
                {
                    "vulnerability": "VCID-affq-4sqk-p7ad"
                },
                {
                    "vulnerability": "VCID-aubk-tpgh-z7e2"
                },
                {
                    "vulnerability": "VCID-bvne-5ym9-byaz"
                },
                {
                    "vulnerability": "VCID-cmz4-8t2n-27ef"
                },
                {
                    "vulnerability": "VCID-cpxg-pzcj-73gn"
                },
                {
                    "vulnerability": "VCID-fb4d-p8pw-yka4"
                },
                {
                    "vulnerability": "VCID-gqwn-qskg-qbc7"
                },
                {
                    "vulnerability": "VCID-jc4y-cpn8-6kgs"
                },
                {
                    "vulnerability": "VCID-nr96-4dtm-kbf9"
                },
                {
                    "vulnerability": "VCID-p9vn-r312-1beg"
                },
                {
                    "vulnerability": "VCID-qmcu-uyur-r7bg"
                },
                {
                    "vulnerability": "VCID-rb6y-r3se-jya9"
                },
                {
                    "vulnerability": "VCID-s3wm-bype-73bh"
                },
                {
                    "vulnerability": "VCID-u1r6-67qc-37cg"
                },
                {
                    "vulnerability": "VCID-v9pe-asg8-37hv"
                },
                {
                    "vulnerability": "VCID-zhhy-m421-nffk"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/moodle/moodle@4.1.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2023-28335",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.0037",
                    "scoring_system": "epss",
                    "scoring_elements": "0.59129",
                    "published_at": "2026-05-30T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2023-28335"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2179424",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                },
                {
                    "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/2024-07-23T15:02:59Z/"
                }
            ],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2179424"
        },
        {
            "reference_url": "https://github.com/moodle/moodle",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/moodle/moodle"
        },
        {
            "reference_url": "https://github.com/moodle/moodle/commit/355556c05f4a6d9e223164eff820cd34eb70cc35",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/moodle/moodle/commit/355556c05f4a6d9e223164eff820cd34eb70cc35"
        },
        {
            "reference_url": "https://git.moodle.org/gw?p=moodle.git;a=commitdiff;h=355556c05f4a6d9e223164eff820cd34eb70cc35",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://git.moodle.org/gw?p=moodle.git;a=commitdiff;h=355556c05f4a6d9e223164eff820cd34eb70cc35"
        },
        {
            "reference_url": "https://moodle.org/mod/forum/discuss.php?d=445067",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                },
                {
                    "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/2024-07-23T15:02:59Z/"
                }
            ],
            "url": "https://moodle.org/mod/forum/discuss.php?d=445067"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-28335",
            "reference_id": "CVE-2023-28335",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-28335"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-wxmq-v9gx-75pg",
            "reference_id": "GHSA-wxmq-v9gx-75pg",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-wxmq-v9gx-75pg"
        }
    ],
    "weaknesses": [
        {
            "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."
        },
        {
            "cwe_id": 352,
            "name": "Cross-Site Request Forgery (CSRF)",
            "description": "The web application does not, or can not, sufficiently verify whether a well-formed, valid, consistent request was intentionally provided by the user who submitted the request."
        },
        {
            "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."
        }
    ],
    "exploits": [],
    "severity_range_score": "7.0 - 8.9",
    "exploitability": "0.5",
    "weighted_severity": "0.0",
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-u1r6-67qc-37cg"
}