Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/141580?format=api",
    "vulnerability_id": "VCID-111p-y8hd-x7cj",
    "summary": "Cross-site scripting (XSS) vulnerability in the captive portal in PacketFence before 3.3.0 allows remote attackers to inject arbitrary web script or HTML via unspecified vectors.",
    "aliases": [
        {
            "alias": "CVE-2012-4740"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2012-4740",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00285",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51981",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00285",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51871",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.00285",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51919",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00285",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51946",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00285",
                    "scoring_system": "epss",
                    "scoring_elements": "0.5191",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00285",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51964",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00285",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51963",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00285",
                    "scoring_system": "epss",
                    "scoring_elements": "0.52015",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00285",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51997",
                    "published_at": "2026-04-12T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2012-4740"
        },
        {
            "reference_url": "http://secunia.com/advisories/48833",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://secunia.com/advisories/48833"
        },
        {
            "reference_url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/74887",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/74887"
        },
        {
            "reference_url": "http://sourceforge.net/mailarchive/message.php?msg_id=29126135",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://sourceforge.net/mailarchive/message.php?msg_id=29126135"
        },
        {
            "reference_url": "http://www.securityfocus.com/bid/53027",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.securityfocus.com/bid/53027"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:packetfence:packetfence:*:*:*:*:*:*:*:*",
            "reference_id": "cpe:2.3:a:packetfence:packetfence:*:*:*:*:*:*:*:*",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:packetfence:packetfence:*:*:*:*:*:*:*:*"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2012-4740",
            "reference_id": "CVE-2012-4740",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.3",
                    "scoring_system": "cvssv2",
                    "scoring_elements": "AV:N/AC:M/Au:N/C:N/I:P/A:N"
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2012-4740"
        }
    ],
    "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."
        }
    ],
    "exploits": [],
    "severity_range_score": "4.3 - 4.3",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-111p-y8hd-x7cj"
}