Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/42050?format=api",
    "vulnerability_id": "VCID-j1uw-vqqx-uuh2",
    "summary": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in oro/platform.",
    "aliases": [
        {
            "alias": "GHSA-rrgw-3hg3-9x8c"
        },
        {
            "alias": "GMS-2022-24"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60145?format=api",
            "purl": "pkg:composer/oro/platform@3.1.29",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/oro/platform@3.1.29"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60146?format=api",
            "purl": "pkg:composer/oro/platform@4.1.17",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/oro/platform@4.1.17"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/59958?format=api",
            "purl": "pkg:composer/oro/platform@4.2.8",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/oro/platform@4.2.8"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/59954?format=api",
            "purl": "pkg:composer/oro/platform@3.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-j1uw-vqqx-uuh2"
                },
                {
                    "vulnerability": "VCID-mp7m-9665-uqb6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/oro/platform@3.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/59955?format=api",
            "purl": "pkg:composer/oro/platform@4.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-htv9-tpny-7ycn"
                },
                {
                    "vulnerability": "VCID-j1uw-vqqx-uuh2"
                },
                {
                    "vulnerability": "VCID-mp7m-9665-uqb6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/oro/platform@4.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/59956?format=api",
            "purl": "pkg:composer/oro/platform@4.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-h2ur-dutp-gqba"
                },
                {
                    "vulnerability": "VCID-htv9-tpny-7ycn"
                },
                {
                    "vulnerability": "VCID-j1uw-vqqx-uuh2"
                },
                {
                    "vulnerability": "VCID-mk5p-7x3m-v7hb"
                },
                {
                    "vulnerability": "VCID-mp7m-9665-uqb6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/oro/platform@4.2.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/advisories/GHSA-rrgw-3hg3-9x8c",
            "reference_id": "GHSA-rrgw-3hg3-9x8c",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-rrgw-3hg3-9x8c"
        },
        {
            "reference_url": "https://github.com/oroinc/platform-er/security/advisories/GHSA-rrgw-3hg3-9x8c",
            "reference_id": "GHSA-rrgw-3hg3-9x8c",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/oroinc/platform-er/security/advisories/GHSA-rrgw-3hg3-9x8c"
        }
    ],
    "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": 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": 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": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-j1uw-vqqx-uuh2"
}