Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40042?format=api",
    "vulnerability_id": "VCID-nf6e-xtjt-rbff",
    "summary": "Improper neutralization of input within the affected product could lead to cross-site scripting.",
    "aliases": [
        {
            "alias": "CVE-2024-28045"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2024-28045",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00145",
                    "scoring_system": "epss",
                    "scoring_elements": "0.34565",
                    "published_at": "2026-06-11T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2024-28045"
        },
        {
            "reference_url": "https://www.cisa.gov/news-events/ics-advisories/icsa-24-074-12",
            "reference_id": "icsa-24-074-12",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.6",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-03-27T14:14:37Z/"
                }
            ],
            "url": "https://www.cisa.gov/news-events/ics-advisories/icsa-24-074-12"
        }
    ],
    "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.6 - 4.6",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-nf6e-xtjt-rbff"
}