Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/43835?format=api",
    "vulnerability_id": "VCID-a4fa-ms27-93fn",
    "summary": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')\nCross-site scripting (XSS) vulnerability in the view operations page in phpMyAdmin 4.1.x before 4.1.14.3 and 4.2.x before 4.2.7.1 allows remote authenticated users to inject arbitrary web script or HTML via a crafted view name, related to js/functions.js.",
    "aliases": [
        {
            "alias": "CVE-2014-5274"
        },
        {
            "alias": "GHSA-q586-xpwr-jc3j"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/62976?format=api",
            "purl": "pkg:composer/phpmyadmin/phpmyadmin@4.1.14%2B3",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpmyadmin/phpmyadmin@4.1.14%252B3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/62977?format=api",
            "purl": "pkg:composer/phpmyadmin/phpmyadmin@4.2.7%2B1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpmyadmin/phpmyadmin@4.2.7%252B1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/62974?format=api",
            "purl": "pkg:composer/phpmyadmin/phpmyadmin@4.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-a4fa-ms27-93fn"
                },
                {
                    "vulnerability": "VCID-amgy-teas-euh5"
                },
                {
                    "vulnerability": "VCID-n7cc-xfym-u7g4"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpmyadmin/phpmyadmin@4.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/62975?format=api",
            "purl": "pkg:composer/phpmyadmin/phpmyadmin@4.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-a4fa-ms27-93fn"
                },
                {
                    "vulnerability": "VCID-amgy-teas-euh5"
                },
                {
                    "vulnerability": "VCID-n7cc-xfym-u7g4"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpmyadmin/phpmyadmin@4.2.0"
        }
    ],
    "references": [
        {
            "reference_url": "http://lists.opensuse.org/opensuse-updates/2014-08/msg00045.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://lists.opensuse.org/opensuse-updates/2014-08/msg00045.html"
        },
        {
            "reference_url": "https://github.com/phpmyadmin/phpmyadmin/commit/0cd293f5e13aa245e4a57b8d373597cc0e421b6f",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/phpmyadmin/phpmyadmin/commit/0cd293f5e13aa245e4a57b8d373597cc0e421b6f"
        },
        {
            "reference_url": "http://www.phpmyadmin.net/home_page/security/PMASA-2014-9.php",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.phpmyadmin.net/home_page/security/PMASA-2014-9.php"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2014-5274",
            "reference_id": "CVE-2014-5274",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2014-5274"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-q586-xpwr-jc3j",
            "reference_id": "GHSA-q586-xpwr-jc3j",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-q586-xpwr-jc3j"
        }
    ],
    "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-a4fa-ms27-93fn"
}