Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/41950?format=api",
    "vulnerability_id": "VCID-mp7m-9665-uqb6",
    "summary": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')\nOroPlatform is a PHP Business Application Platform.An attacker must have permission to create or edit an email template. For successful payload, execution the attacked user must preview a vulnerable email template. There are no workarounds that address this vulnerability. Users are advised to upgrade as soon as is possible.",
    "aliases": [
        {
            "alias": "CVE-2021-41236"
        },
        {
            "alias": "GHSA-qv7g-j98v-8pp7"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/59957?format=api",
            "purl": "pkg:composer/oro/platform@4.0.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/oro/platform@4.0.0"
        },
        {
            "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/oroinc/platform/commit/2a089c971fc70bc63baf8770d29ee515ce5a415a",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/oroinc/platform/commit/2a089c971fc70bc63baf8770d29ee515ce5a415a"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-41236",
            "reference_id": "CVE-2021-41236",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-41236"
        },
        {
            "reference_url": "https://github.com/oroinc/platform/security/advisories/GHSA-qv7g-j98v-8pp7",
            "reference_id": "GHSA-qv7g-j98v-8pp7",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/oroinc/platform/security/advisories/GHSA-qv7g-j98v-8pp7"
        }
    ],
    "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-mp7m-9665-uqb6"
}