Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/51171?format=api",
    "vulnerability_id": "VCID-yvsf-v3cu-6kc4",
    "summary": "The Taskbuilder  WordPress plugin before 3.0.9 does not sanitize and escape a parameter before using it in a SQL statement, allowing admins to perform SQL injection attacks",
    "aliases": [
        {
            "alias": "CVE-2024-9831"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2024-9831",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00251",
                    "scoring_system": "epss",
                    "scoring_elements": "0.48704",
                    "published_at": "2026-06-11T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2024-9831"
        },
        {
            "reference_url": "https://wpscan.com/vulnerability/390baaf8-a162-43e5-9367-0d2e979d89f7/",
            "reference_id": "390baaf8-a162-43e5-9367-0d2e979d89f7",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.2",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "Track*",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2025-05-16T13:52:07Z/"
                }
            ],
            "url": "https://wpscan.com/vulnerability/390baaf8-a162-43e5-9367-0d2e979d89f7/"
        }
    ],
    "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.2 - 7.2",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-yvsf-v3cu-6kc4"
}