Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/49561?format=api",
    "vulnerability_id": "VCID-rb7c-3nkc-gkeg",
    "summary": "Craft CMS vulnerable to Server-Side Request Forgery (SSRF) via GraphQL Asset Upload Mutation\nThe Craft CMS GraphQL `save_<VolumeName>_Asset` mutation is vulnerable to Server-Side Request Forgery (SSRF). This vulnerability arises because the `_file` input, specifically its `url` parameter, allows the server to fetch content from arbitrary remote locations without proper validation. Attackers can exploit this by providing internal IP addresses or cloud metadata endpoints as the `url`, forcing the server to make requests to these restricted services. The fetched content is then saved as an asset, which can subsequently be accessed and exfiltrated, leading to potential data exposure and infrastructure compromise. This exploitation requires specific GraphQL permissions for asset management within the targeted volume.\n\nUsers should update to the patched 5.8.21 and 4.16.17 releases to mitigate the issue.References:\n\nhttps://github.com/craftcms/cms/commit/013db636fdb38f3ce5657fd196b6d952f98ebc52\n\nhttps://github.com/craftcms/cms/blob/5.x/CHANGELOG.md",
    "aliases": [
        {
            "alias": "CVE-2025-68437"
        },
        {
            "alias": "GHSA-x27p-wfqw-hfcc"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/73170?format=api",
            "purl": "pkg:composer/craftcms/cms@4.16.17",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/craftcms/cms@4.16.17"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/73169?format=api",
            "purl": "pkg:composer/craftcms/cms@5.8.21",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/craftcms/cms@5.8.21"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/73167?format=api",
            "purl": "pkg:composer/craftcms/cms@3.5.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fpea-e48p-kfbn"
                },
                {
                    "vulnerability": "VCID-hkp9-3hzv-quhk"
                },
                {
                    "vulnerability": "VCID-rb7c-3nkc-gkeg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/craftcms/cms@3.5.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/73168?format=api",
            "purl": "pkg:composer/craftcms/cms@5.0.0-RC1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1468-4fdx-kbfr"
                },
                {
                    "vulnerability": "VCID-1mb5-28xp-ckd2"
                },
                {
                    "vulnerability": "VCID-39ct-cg7w-kyb6"
                },
                {
                    "vulnerability": "VCID-4wkr-jx1w-77hn"
                },
                {
                    "vulnerability": "VCID-5cxe-tjpb-3qan"
                },
                {
                    "vulnerability": "VCID-5mnd-qvaq-k3am"
                },
                {
                    "vulnerability": "VCID-5q5g-jrxm-eyhe"
                },
                {
                    "vulnerability": "VCID-71sv-62m4-z3er"
                },
                {
                    "vulnerability": "VCID-7y4f-ef7t-47eb"
                },
                {
                    "vulnerability": "VCID-8u2j-17a4-q7eh"
                },
                {
                    "vulnerability": "VCID-9enr-b6zd-mbh8"
                },
                {
                    "vulnerability": "VCID-a3b5-pwyh-yugv"
                },
                {
                    "vulnerability": "VCID-akrv-yqnf-1kg8"
                },
                {
                    "vulnerability": "VCID-azr5-12f8-hfbm"
                },
                {
                    "vulnerability": "VCID-c2nk-y4rx-1qf4"
                },
                {
                    "vulnerability": "VCID-cys8-jnmu-77ec"
                },
                {
                    "vulnerability": "VCID-esma-wxje-eqh3"
                },
                {
                    "vulnerability": "VCID-fpea-e48p-kfbn"
                },
                {
                    "vulnerability": "VCID-h6t5-pdp5-8qhe"
                },
                {
                    "vulnerability": "VCID-hkp9-3hzv-quhk"
                },
                {
                    "vulnerability": "VCID-hyct-5gap-7kdu"
                },
                {
                    "vulnerability": "VCID-jeyh-3jxd-z3g6"
                },
                {
                    "vulnerability": "VCID-jsfs-azcs-mfcm"
                },
                {
                    "vulnerability": "VCID-jxz8-g6fq-dubw"
                },
                {
                    "vulnerability": "VCID-kbrc-85av-nfcn"
                },
                {
                    "vulnerability": "VCID-m5rf-usae-yfb7"
                },
                {
                    "vulnerability": "VCID-pgm4-svq8-tfc5"
                },
                {
                    "vulnerability": "VCID-ppet-ruae-1kav"
                },
                {
                    "vulnerability": "VCID-qq68-3j4y-47am"
                },
                {
                    "vulnerability": "VCID-qywv-vf4r-8bh9"
                },
                {
                    "vulnerability": "VCID-r5hp-5nju-9ubz"
                },
                {
                    "vulnerability": "VCID-rb7c-3nkc-gkeg"
                },
                {
                    "vulnerability": "VCID-twuy-wzb7-k7g3"
                },
                {
                    "vulnerability": "VCID-vasz-rnn1-67ev"
                },
                {
                    "vulnerability": "VCID-vvhc-rnpr-ubey"
                },
                {
                    "vulnerability": "VCID-w9yn-1573-hyau"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/craftcms/cms@5.0.0-RC1"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/craftcms/cms",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.0",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/craftcms/cms"
        },
        {
            "reference_url": "https://github.com/craftcms/cms/blob/5.x/CHANGELOG.md#5821---2025-12-04",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P"
                },
                {
                    "value": "5.0",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2026-01-06T14:27:06Z/"
                }
            ],
            "url": "https://github.com/craftcms/cms/blob/5.x/CHANGELOG.md#5821---2025-12-04"
        },
        {
            "reference_url": "https://github.com/craftcms/cms/commit/013db636fdb38f3ce5657fd196b6d952f98ebc52",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P"
                },
                {
                    "value": "5.0",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2026-01-06T14:27:06Z/"
                }
            ],
            "url": "https://github.com/craftcms/cms/commit/013db636fdb38f3ce5657fd196b6d952f98ebc52"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2025-68437",
            "reference_id": "CVE-2025-68437",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.0",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-68437"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-x27p-wfqw-hfcc",
            "reference_id": "GHSA-x27p-wfqw-hfcc",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-x27p-wfqw-hfcc"
        },
        {
            "reference_url": "https://github.com/craftcms/cms/security/advisories/GHSA-x27p-wfqw-hfcc",
            "reference_id": "GHSA-x27p-wfqw-hfcc",
            "reference_type": "",
            "scores": [
                {
                    "value": "5",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P"
                },
                {
                    "value": "5.0",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2026-01-06T14:27:06Z/"
                }
            ],
            "url": "https://github.com/craftcms/cms/security/advisories/GHSA-x27p-wfqw-hfcc"
        }
    ],
    "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": "4.0 - 6.9",
    "exploitability": "0.5",
    "weighted_severity": "6.2",
    "risk_score": 3.1,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-rb7c-3nkc-gkeg"
}