Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/42663?format=api",
    "vulnerability_id": "VCID-kp4q-mp88-wydk",
    "summary": "SQL Injection vulnerability in Ecommerce-CodeIgniter-Bootstrap commit v. d22b54e8915f167a135046ceb857caaf8479c4da allows a remote attacker to execute arbitrary code via the manageQuantitiesAndProcurement method of the Orders_model.php component.",
    "aliases": [
        {
            "alias": "CVE-2024-31821"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2024-31821",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.01949",
                    "scoring_system": "epss",
                    "scoring_elements": "0.83845",
                    "published_at": "2026-06-11T12:55:00Z"
                },
                {
                    "value": "0.01949",
                    "scoring_system": "epss",
                    "scoring_elements": "0.83902",
                    "published_at": "2026-06-12T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2024-31821"
        },
        {
            "reference_url": "https://gist.github.com/LioTree/5c963a37e2c335c22e74ca3d9aea32bb",
            "reference_id": "5c963a37e2c335c22e74ca3d9aea32bb",
            "reference_type": "",
            "scores": [
                {
                    "value": "8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2024-04-29T19:32:04Z/"
                }
            ],
            "url": "https://gist.github.com/LioTree/5c963a37e2c335c22e74ca3d9aea32bb"
        },
        {
            "reference_url": "https://github.com/kirilkirkov/Ecommerce-CodeIgniter-Bootstrap/commit/d22b54e8915f167a135046ceb857caaf8479c4da",
            "reference_id": "d22b54e8915f167a135046ceb857caaf8479c4da",
            "reference_type": "",
            "scores": [
                {
                    "value": "8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2024-04-29T19:32:04Z/"
                }
            ],
            "url": "https://github.com/kirilkirkov/Ecommerce-CodeIgniter-Bootstrap/commit/d22b54e8915f167a135046ceb857caaf8479c4da"
        },
        {
            "reference_url": "https://liotree.github.io/2023/Ecommerce-CodeIgniter-Bootstrap.html",
            "reference_id": "Ecommerce-CodeIgniter-Bootstrap.html",
            "reference_type": "",
            "scores": [
                {
                    "value": "8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2024-04-29T19:32:04Z/"
                }
            ],
            "url": "https://liotree.github.io/2023/Ecommerce-CodeIgniter-Bootstrap.html"
        }
    ],
    "weaknesses": [],
    "exploits": [],
    "severity_range_score": "8.0 - 8.0",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-kp4q-mp88-wydk"
}