Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/318030?format=api",
    "vulnerability_id": "VCID-dup5-9qdp-5udn",
    "summary": "Cacti through 1.2.29 allows SQL injection in the template function in host_templates.php via the graph_template parameter. NOTE: this issue exists because of an incomplete fix for CVE-2024-54146.",
    "aliases": [
        {
            "alias": "CVE-2025-26520"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/582137?format=api",
            "purl": "pkg:deb/debian/cacti@0?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/cacti@0%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/582138?format=api",
            "purl": "pkg:deb/debian/cacti@1.2.16%2Bds1-2%2Bdeb11u3?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4e5y-1s19-r7g7"
                },
                {
                    "vulnerability": "VCID-cqr3-wwhj-tyck"
                },
                {
                    "vulnerability": "VCID-pxqa-nkv3-jqfs"
                },
                {
                    "vulnerability": "VCID-xkkm-ss3p-1udc"
                },
                {
                    "vulnerability": "VCID-zxu5-equ9-1kam"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/cacti@1.2.16%252Bds1-2%252Bdeb11u3%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/582140?format=api",
            "purl": "pkg:deb/debian/cacti@1.2.24%2Bds1-1%2Bdeb12u5?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4e5y-1s19-r7g7"
                },
                {
                    "vulnerability": "VCID-pxqa-nkv3-jqfs"
                },
                {
                    "vulnerability": "VCID-xkkm-ss3p-1udc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/cacti@1.2.24%252Bds1-1%252Bdeb12u5%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/582142?format=api",
            "purl": "pkg:deb/debian/cacti@1.2.30%2Bds1-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/cacti@1.2.30%252Bds1-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/582143?format=api",
            "purl": "pkg:deb/debian/cacti@1.2.30%2Bds1-2?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/cacti@1.2.30%252Bds1-2%3Fdistro=trixie"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2025-26520",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00066",
                    "scoring_system": "epss",
                    "scoring_elements": "0.20356",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00066",
                    "scoring_system": "epss",
                    "scoring_elements": "0.20427",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00066",
                    "scoring_system": "epss",
                    "scoring_elements": "0.20457",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00066",
                    "scoring_system": "epss",
                    "scoring_elements": "0.20411",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00066",
                    "scoring_system": "epss",
                    "scoring_elements": "0.20502",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00066",
                    "scoring_system": "epss",
                    "scoring_elements": "0.2056",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00066",
                    "scoring_system": "epss",
                    "scoring_elements": "0.20289",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00066",
                    "scoring_system": "epss",
                    "scoring_elements": "0.2037",
                    "published_at": "2026-04-08T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2025-26520"
        },
        {
            "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1095721",
            "reference_id": "1095721",
            "reference_type": "",
            "scores": [],
            "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1095721"
        },
        {
            "reference_url": "https://github.com/Cacti/cacti/pull/6096",
            "reference_id": "6096",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.6",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-02-12T16:01:49Z/"
                }
            ],
            "url": "https://github.com/Cacti/cacti/pull/6096"
        },
        {
            "reference_url": "https://github.com/Cacti/cacti/commit/7fa60c03ad4a69c701ac6b77c85a8927df7acd51",
            "reference_id": "7fa60c03ad4a69c701ac6b77c85a8927df7acd51",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.6",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-02-12T16:01:49Z/"
                }
            ],
            "url": "https://github.com/Cacti/cacti/commit/7fa60c03ad4a69c701ac6b77c85a8927df7acd51"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 89,
            "name": "Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')",
            "description": "The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component."
        }
    ],
    "exploits": [],
    "severity_range_score": "7.6 - 7.6",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-dup5-9qdp-5udn"
}