Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/44028?format=api",
    "vulnerability_id": "VCID-fdh9-bd4n-4yh3",
    "summary": "Joomla! vulnerable to Cross-site Scripting\nMultiple cross-site scripting (XSS) vulnerabilities in Joomla! before 1.6.4 allow remote attackers to inject arbitrary web script or HTML via (1) the query string to the com_contact component, as demonstrated by the Itemid parameter to index.php; (2) the query string to the com_content component, as demonstrated by the filter_order parameter to index.php; (3) the query string to the com_newsfeeds component, as demonstrated by an arbitrary parameter to index.php; or (4) the option parameter in a reset.request action to index.php; and, when Internet Explorer or Konqueror is used, (5) allow remote attackers to inject arbitrary web script or HTML via the searchword parameter in a search action to index.php in the com_search component.",
    "aliases": [
        {
            "alias": "CVE-2011-2509"
        },
        {
            "alias": "GHSA-vcq7-x4wr-w2mj"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/63295?format=api",
            "purl": "pkg:composer/joomla/joomla-cms@1.6.4",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/joomla/joomla-cms@1.6.4"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2011-2509",
            "reference_id": "CVE-2011-2509",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2011-2509"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-vcq7-x4wr-w2mj",
            "reference_id": "GHSA-vcq7-x4wr-w2mj",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-vcq7-x4wr-w2mj"
        }
    ],
    "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": 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": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-fdh9-bd4n-4yh3"
}