Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/16345?format=api",
    "vulnerability_id": "VCID-ecj2-c6rx-57a1",
    "summary": "Moodle SSRF Vulnerability\nThe `edit_blog.php` script allows a registered user to add external RSS feed resources. It was identified that this feature could be abused to be used as a SSRF attack vector by adding a malicious URL/TCP PORT in order to target internal network or an internet hosted server, bypassing firewall rules, IP filtering and more.\n\nThis kind of vulnerability is then called “blind” because of no response available on Moodle web site, enforcing attacker to exploit it using a “time based” approach.",
    "aliases": [
        {
            "alias": "CVE-2019-6970"
        },
        {
            "alias": "GHSA-vjxx-54vw-q59f"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56645?format=api",
            "purl": "pkg:composer/moodle/moodle@3.5.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3r3j-bqzm-5ufz"
                },
                {
                    "vulnerability": "VCID-d2au-r7m3-cyc8"
                },
                {
                    "vulnerability": "VCID-eb8w-rqef-sqca"
                },
                {
                    "vulnerability": "VCID-k249-a5wk-2fcs"
                },
                {
                    "vulnerability": "VCID-kys8-9mu7-w7dn"
                },
                {
                    "vulnerability": "VCID-nbpz-vdd1-w3ae"
                },
                {
                    "vulnerability": "VCID-qfmd-5exc-c3f3"
                },
                {
                    "vulnerability": "VCID-qnn9-5vhh-nkd8"
                },
                {
                    "vulnerability": "VCID-s8ph-ghzm-q7c5"
                },
                {
                    "vulnerability": "VCID-vabw-g3da-bqbz"
                },
                {
                    "vulnerability": "VCID-x2e5-m5rs-7qfr"
                },
                {
                    "vulnerability": "VCID-x3gw-ztjq-ebbu"
                },
                {
                    "vulnerability": "VCID-xktx-amv6-gbh2"
                },
                {
                    "vulnerability": "VCID-y219-hufv-tkds"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/moodle/moodle@3.5.4"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/55041?format=api",
            "purl": "pkg:composer/moodle/moodle@3.5.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-17vy-726y-u7fz"
                },
                {
                    "vulnerability": "VCID-1wmh-jwh7-2fcw"
                },
                {
                    "vulnerability": "VCID-2avg-qvn9-bkdn"
                },
                {
                    "vulnerability": "VCID-2et6-3ejg-27b8"
                },
                {
                    "vulnerability": "VCID-3r3j-bqzm-5ufz"
                },
                {
                    "vulnerability": "VCID-8xgp-3nds-d7dm"
                },
                {
                    "vulnerability": "VCID-a8sa-7ed7-wbby"
                },
                {
                    "vulnerability": "VCID-ajnx-w4at-7fgp"
                },
                {
                    "vulnerability": "VCID-d17g-sacy-nkfw"
                },
                {
                    "vulnerability": "VCID-d2au-r7m3-cyc8"
                },
                {
                    "vulnerability": "VCID-dhu5-3tda-2qfx"
                },
                {
                    "vulnerability": "VCID-eb8w-rqef-sqca"
                },
                {
                    "vulnerability": "VCID-ecj2-c6rx-57a1"
                },
                {
                    "vulnerability": "VCID-ehpf-6ra7-syfy"
                },
                {
                    "vulnerability": "VCID-gtpy-dhmm-mufn"
                },
                {
                    "vulnerability": "VCID-hurp-xp2w-wbcp"
                },
                {
                    "vulnerability": "VCID-k249-a5wk-2fcs"
                },
                {
                    "vulnerability": "VCID-kys8-9mu7-w7dn"
                },
                {
                    "vulnerability": "VCID-nbpz-vdd1-w3ae"
                },
                {
                    "vulnerability": "VCID-qfmd-5exc-c3f3"
                },
                {
                    "vulnerability": "VCID-qnn9-5vhh-nkd8"
                },
                {
                    "vulnerability": "VCID-s8ph-ghzm-q7c5"
                },
                {
                    "vulnerability": "VCID-t5d1-h6c9-6kex"
                },
                {
                    "vulnerability": "VCID-u843-6ku8-6bh7"
                },
                {
                    "vulnerability": "VCID-useh-xm73-zub8"
                },
                {
                    "vulnerability": "VCID-vabw-g3da-bqbz"
                },
                {
                    "vulnerability": "VCID-wk9h-bhj5-zua8"
                },
                {
                    "vulnerability": "VCID-x2e5-m5rs-7qfr"
                },
                {
                    "vulnerability": "VCID-x3gw-ztjq-ebbu"
                },
                {
                    "vulnerability": "VCID-xktx-amv6-gbh2"
                },
                {
                    "vulnerability": "VCID-y219-hufv-tkds"
                },
                {
                    "vulnerability": "VCID-yq9c-xav3-e3bv"
                },
                {
                    "vulnerability": "VCID-zn3y-sq7h-83h9"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/moodle/moodle@3.5.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2019-6970",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00185",
                    "scoring_system": "epss",
                    "scoring_elements": "0.39943",
                    "published_at": "2026-05-30T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2019-6970"
        },
        {
            "reference_url": "https://github.com/moodle/moodle",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:L/UI:N/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://www.excellium-services.com/cert-xlm-advisory",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://www.excellium-services.com/cert-xlm-advisory"
        },
        {
            "reference_url": "https://cds.thalesgroup.com/en/tcs-cert/CVE-2019-6970",
            "reference_id": "CVE-2019-6970",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://cds.thalesgroup.com/en/tcs-cert/CVE-2019-6970"
        },
        {
            "reference_url": "https://excellium-services.com/cert-xlm-advisory/cve-2019-6970",
            "reference_id": "CVE-2019-6970",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://excellium-services.com/cert-xlm-advisory/cve-2019-6970"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2019-6970",
            "reference_id": "CVE-2019-6970",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-6970"
        },
        {
            "reference_url": "https://www.excellium-services.com/cert-xlm-advisory/cve-2019-6970",
            "reference_id": "CVE-2019-6970",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://www.excellium-services.com/cert-xlm-advisory/cve-2019-6970"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-vjxx-54vw-q59f",
            "reference_id": "GHSA-vjxx-54vw-q59f",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-vjxx-54vw-q59f"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 918,
            "name": "Server-Side Request Forgery (SSRF)",
            "description": "The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination."
        },
        {
            "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": "0.0",
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ecj2-c6rx-57a1"
}