Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/110323?format=api",
    "vulnerability_id": "VCID-9t4k-8hsz-bfdw",
    "summary": "Reflected XSS in querystring parameters\nAn attacker could inject a XSS payload in a Silverstripe CMS response by carefully crafting a return URL on a /dev/build or /Security/login request.\n\nTo exploit this vulnerability, an attacker would need to convince a user to follow a link with a malicious payload.\n\nThis will only affect projects configured to output PHP warnings to the browser. By default, Silverstripe CMS will only output PHP warnings if your SS_ENVIRONMENT_TYPE environment variable is set to dev. Production sites should always set SS_ENVIRONMENT_TYPE to live.",
    "aliases": [
        {
            "alias": "CVE-2022-38462"
        },
        {
            "alias": "GHSA-vvxf-r4vm-2vm6"
        },
        {
            "alias": "GMS-2022-6858"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/148496?format=api",
            "purl": "pkg:composer/silverstripe/framework@4.11.13",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/silverstripe/framework@4.11.13"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/54914?format=api",
            "purl": "pkg:composer/silverstripe/framework@4.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1mmc-91gk-r3d3"
                },
                {
                    "vulnerability": "VCID-1p79-328x-sueq"
                },
                {
                    "vulnerability": "VCID-24a5-ruc4-bycq"
                },
                {
                    "vulnerability": "VCID-2hk2-hzyh-wbhf"
                },
                {
                    "vulnerability": "VCID-5dt7-nc8t-nqgh"
                },
                {
                    "vulnerability": "VCID-7gak-15m5-j3f5"
                },
                {
                    "vulnerability": "VCID-7hxq-cp29-r7dh"
                },
                {
                    "vulnerability": "VCID-7w7t-3783-1kbs"
                },
                {
                    "vulnerability": "VCID-9t4k-8hsz-bfdw"
                },
                {
                    "vulnerability": "VCID-b6nm-cphj-wfgw"
                },
                {
                    "vulnerability": "VCID-ca4q-xd4v-vqfe"
                },
                {
                    "vulnerability": "VCID-cmwn-cjff-9qau"
                },
                {
                    "vulnerability": "VCID-fmfu-81xu-pfdy"
                },
                {
                    "vulnerability": "VCID-mkex-ht2r-cucz"
                },
                {
                    "vulnerability": "VCID-nute-ndg2-z7ev"
                },
                {
                    "vulnerability": "VCID-nzcm-xbxx-wyf9"
                },
                {
                    "vulnerability": "VCID-pkve-yjqy-syc2"
                },
                {
                    "vulnerability": "VCID-qdwg-f2bx-1bay"
                },
                {
                    "vulnerability": "VCID-r1eg-dwej-5kau"
                },
                {
                    "vulnerability": "VCID-ru3j-21j8-ayhm"
                },
                {
                    "vulnerability": "VCID-tv7h-289s-xub4"
                },
                {
                    "vulnerability": "VCID-xg74-3h1h-kqaf"
                },
                {
                    "vulnerability": "VCID-xm4q-u96p-57dd"
                },
                {
                    "vulnerability": "VCID-y8et-m846-2fc6"
                },
                {
                    "vulnerability": "VCID-ytbc-8mhd-b3fc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/silverstripe/framework@4.0.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-38462",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.0068",
                    "scoring_system": "epss",
                    "scoring_elements": "0.71981",
                    "published_at": "2026-06-04T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-38462"
        },
        {
            "reference_url": "https://forum.silverstripe.org/c/releases",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-04-29T04:36:33Z/"
                }
            ],
            "url": "https://forum.silverstripe.org/c/releases"
        },
        {
            "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/CVE-2022-38462.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/CVE-2022-38462.yaml"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-38462",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-38462"
        },
        {
            "reference_url": "https://www.silverstripe.org/blog/tag/release",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-04-29T04:36:33Z/"
                }
            ],
            "url": "https://www.silverstripe.org/blog/tag/release"
        },
        {
            "reference_url": "https://www.silverstripe.org/download/security-releases",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://www.silverstripe.org/download/security-releases"
        },
        {
            "reference_url": "https://www.silverstripe.org/download/security-releases/cve-2022-38462",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://www.silverstripe.org/download/security-releases/cve-2022-38462"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-vvxf-r4vm-2vm6",
            "reference_id": "GHSA-vvxf-r4vm-2vm6",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-vvxf-r4vm-2vm6"
        }
    ],
    "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": 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": 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-9t4k-8hsz-bfdw"
}