Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/15255?format=api",
    "vulnerability_id": "VCID-kdqf-c5py-sybt",
    "summary": "Exposure of Sensitive Information to an Unauthorized Actor\nMoodle 2.1.x before 2.1.6 and 2.2.x before 2.2.3 allows remote authenticated users to obtain sensitive user information from hidden fields by leveraging the teacher role and navigating to \"Enrolled users\" under the Users Settings section.",
    "aliases": [
        {
            "alias": "CVE-2012-2353"
        },
        {
            "alias": "GHSA-mr97-gvvg-rhgh"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/49935?format=api",
            "purl": "pkg:composer/moodle/moodle@2.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1m87-uyah-9kat"
                },
                {
                    "vulnerability": "VCID-364d-q9tm-4ket"
                },
                {
                    "vulnerability": "VCID-5vy6-nqht-hfa5"
                },
                {
                    "vulnerability": "VCID-7see-ex7a-9fdr"
                },
                {
                    "vulnerability": "VCID-8q6b-cnmp-n3gv"
                },
                {
                    "vulnerability": "VCID-du8m-h228-cff3"
                },
                {
                    "vulnerability": "VCID-e1jc-m337-k7bj"
                },
                {
                    "vulnerability": "VCID-hxhr-sxkm-nka6"
                },
                {
                    "vulnerability": "VCID-kdqf-c5py-sybt"
                },
                {
                    "vulnerability": "VCID-pj1q-4uex-e3d3"
                },
                {
                    "vulnerability": "VCID-pswr-m2yd-tkfb"
                },
                {
                    "vulnerability": "VCID-qjdf-s39r-5bdb"
                },
                {
                    "vulnerability": "VCID-t242-kuj7-zfg4"
                },
                {
                    "vulnerability": "VCID-t5ww-gsnd-3ycg"
                },
                {
                    "vulnerability": "VCID-u9f3-sbjk-pygw"
                },
                {
                    "vulnerability": "VCID-uhws-64fm-hybk"
                },
                {
                    "vulnerability": "VCID-vf82-m9gw-kud2"
                },
                {
                    "vulnerability": "VCID-xu4e-svgd-cygq"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/moodle/moodle@2.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/49937?format=api",
            "purl": "pkg:composer/moodle/moodle@2.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-364d-q9tm-4ket"
                },
                {
                    "vulnerability": "VCID-5vy6-nqht-hfa5"
                },
                {
                    "vulnerability": "VCID-6spt-ggnj-zber"
                },
                {
                    "vulnerability": "VCID-8q6b-cnmp-n3gv"
                },
                {
                    "vulnerability": "VCID-9tcy-uad5-hyb8"
                },
                {
                    "vulnerability": "VCID-akut-458d-6bee"
                },
                {
                    "vulnerability": "VCID-du8m-h228-cff3"
                },
                {
                    "vulnerability": "VCID-era2-gy4n-6kdx"
                },
                {
                    "vulnerability": "VCID-f6mk-8r56-1yfe"
                },
                {
                    "vulnerability": "VCID-hxhr-sxkm-nka6"
                },
                {
                    "vulnerability": "VCID-kdqf-c5py-sybt"
                },
                {
                    "vulnerability": "VCID-pj1q-4uex-e3d3"
                },
                {
                    "vulnerability": "VCID-qjdf-s39r-5bdb"
                },
                {
                    "vulnerability": "VCID-uhws-64fm-hybk"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/moodle/moodle@2.2.0"
        }
    ],
    "references": [
        {
            "reference_url": "http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-31923",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-31923"
        },
        {
            "reference_url": "http://openwall.com/lists/oss-security/2012/05/23/2",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://openwall.com/lists/oss-security/2012/05/23/2"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2012-2353",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00176",
                    "scoring_system": "epss",
                    "scoring_elements": "0.38861",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00176",
                    "scoring_system": "epss",
                    "scoring_elements": "0.3919",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00176",
                    "scoring_system": "epss",
                    "scoring_elements": "0.39154",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00176",
                    "scoring_system": "epss",
                    "scoring_elements": "0.39135",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00176",
                    "scoring_system": "epss",
                    "scoring_elements": "0.39189",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00176",
                    "scoring_system": "epss",
                    "scoring_elements": "0.39158",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00176",
                    "scoring_system": "epss",
                    "scoring_elements": "0.3907",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00176",
                    "scoring_system": "epss",
                    "scoring_elements": "0.3898",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.00176",
                    "scoring_system": "epss",
                    "scoring_elements": "0.39166",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00176",
                    "scoring_system": "epss",
                    "scoring_elements": "0.39188",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00176",
                    "scoring_system": "epss",
                    "scoring_elements": "0.39107",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00176",
                    "scoring_system": "epss",
                    "scoring_elements": "0.39162",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00176",
                    "scoring_system": "epss",
                    "scoring_elements": "0.39179",
                    "published_at": "2026-04-09T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2012-2353"
        },
        {
            "reference_url": "https://github.com/moodle/moodle",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/moodle/moodle"
        },
        {
            "reference_url": "https://github.com/moodle/moodle/commit/a645b79113b2ee7881b6bdae64a0c2a9f04db5c7",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/moodle/moodle/commit/a645b79113b2ee7881b6bdae64a0c2a9f04db5c7"
        },
        {
            "reference_url": "https://github.com/moodle/moodle/commit/ce13ea6ceb15f00c3cc6d40d79b06be39de7987a",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/moodle/moodle/commit/ce13ea6ceb15f00c3cc6d40d79b06be39de7987a"
        },
        {
            "reference_url": "https://github.com/moodle/moodle/commit/cfaa50a61d61719c65aa7e26f5444852931e07b6",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/moodle/moodle/commit/cfaa50a61d61719c65aa7e26f5444852931e07b6"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2012-2353",
            "reference_id": "CVE-2012-2353",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2012-2353"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-mr97-gvvg-rhgh",
            "reference_id": "GHSA-mr97-gvvg-rhgh",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-mr97-gvvg-rhgh"
        }
    ],
    "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": 200,
            "name": "Exposure of Sensitive Information to an Unauthorized Actor",
            "description": "The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information."
        },
        {
            "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": "4.0 - 6.9",
    "exploitability": "0.5",
    "weighted_severity": "6.2",
    "risk_score": 3.1,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-kdqf-c5py-sybt"
}