Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/15505?format=api",
    "vulnerability_id": "VCID-bjxb-y6ff-kuac",
    "summary": "Unrestricted Upload of File with Dangerous Type\nAn arbitrary file upload vulnerability in the file upload module of Ghost v4.39.0 allows attackers to execute arbitrary code via a crafted SVG file.",
    "aliases": [
        {
            "alias": "CVE-2022-27139"
        },
        {
            "alias": "GHSA-fvc6-qjp7-m4g4"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60320?format=api",
            "purl": "pkg:npm/ghost@4.39.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/ghost@4.39.1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60319?format=api",
            "purl": "pkg:npm/ghost@4.39.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-bjxb-y6ff-kuac"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/ghost@4.39.0"
        }
    ],
    "references": [
        {
            "reference_url": "http://ghost.org/docs/security/#privilege-escalation-attacks",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track*",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:Y/T:T/P:M/B:A/M:M/D:R/2024-04-22T14:49:55Z/"
                }
            ],
            "url": "http://ghost.org/docs/security/#privilege-escalation-attacks"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-27139",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.06063",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90883",
                    "published_at": "2026-05-30T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-27139"
        },
        {
            "reference_url": "https://github.com/TryGhost/Ghost",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/TryGhost/Ghost"
        },
        {
            "reference_url": "https://youtu.be/FCqWEvir2wE",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track*",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:Y/T:T/P:M/B:A/M:M/D:R/2024-04-22T14:49:55Z/"
                }
            ],
            "url": "https://youtu.be/FCqWEvir2wE"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-27139",
            "reference_id": "CVE-2022-27139",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-27139"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-fvc6-qjp7-m4g4",
            "reference_id": "GHSA-fvc6-qjp7-m4g4",
            "reference_type": "",
            "scores": [
                {
                    "value": "CRITICAL",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-fvc6-qjp7-m4g4"
        }
    ],
    "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": 434,
            "name": "Unrestricted Upload of File with Dangerous Type",
            "description": "The product allows the attacker to upload or transfer files of dangerous types that can be automatically processed within the product's environment."
        },
        {
            "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": "9.0 - 10.0",
    "exploitability": "0.5",
    "weighted_severity": "9.0",
    "risk_score": 4.5,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-bjxb-y6ff-kuac"
}