Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35548?format=api",
    "vulnerability_id": "VCID-h7hf-2k65-c3b4",
    "summary": "Zusam is a free and open-source way to self-host private forums. Prior to version 0.5.6, specially crafted SVG files uploaded to the service as images allow for unrestricted script execution on (raw) image load. With certain payloads, theft of the target user’s long-lived session token is possible. Note that Zusam, at the time of writing, uses a user’s static API key as a long-lived session token, and these terms can be used interchangeably on the platform. This session token/API key remains valid indefinitely, so long as the user doesn’t expressly request a new one via their Settings page. Version 0.5.6 fixes the cross-site scripting vulnerability.",
    "aliases": [
        {
            "alias": "CVE-2024-51492"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2024-51492",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00317",
                    "scoring_system": "epss",
                    "scoring_elements": "0.55205",
                    "published_at": "2026-06-11T12:55:00Z"
                },
                {
                    "value": "0.00317",
                    "scoring_system": "epss",
                    "scoring_elements": "0.55326",
                    "published_at": "2026-06-12T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2024-51492"
        },
        {
            "reference_url": "https://github.com/zusam/zusam/releases/tag/0.5.6",
            "reference_id": "0.5.6",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:L"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2024-11-01T17:26:05Z/"
                }
            ],
            "url": "https://github.com/zusam/zusam/releases/tag/0.5.6"
        },
        {
            "reference_url": "https://github.com/zusam/zusam/commit/5930fdf86fa4abed01f0b345c8ec3c443656db9a",
            "reference_id": "5930fdf86fa4abed01f0b345c8ec3c443656db9a",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:L"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2024-11-01T17:26:05Z/"
                }
            ],
            "url": "https://github.com/zusam/zusam/commit/5930fdf86fa4abed01f0b345c8ec3c443656db9a"
        },
        {
            "reference_url": "https://pfeister.dev/CVE-2024-51492",
            "reference_id": "CVE-2024-51492",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:L"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2024-11-01T17:26:05Z/"
                }
            ],
            "url": "https://pfeister.dev/CVE-2024-51492"
        },
        {
            "reference_url": "https://github.com/zusam/zusam/security/advisories/GHSA-96fx-5rqv-jfxh",
            "reference_id": "GHSA-96fx-5rqv-jfxh",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:L"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2024-11-01T17:26:05Z/"
                }
            ],
            "url": "https://github.com/zusam/zusam/security/advisories/GHSA-96fx-5rqv-jfxh"
        }
    ],
    "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": "8.8 - 8.8",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-h7hf-2k65-c3b4"
}