Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/73163?format=api",
    "purl": "pkg:npm/%40adonisjs/bodyparser@10.1.2",
    "type": "npm",
    "namespace": "@adonisjs",
    "name": "bodyparser",
    "version": "10.1.2",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "10.1.3",
    "latest_non_vulnerable_version": "11.0.0-next.9",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/49552?format=api",
            "vulnerability_id": "VCID-zab6-k8c8-pqcq",
            "summary": "AdonisJS Path Traversal in Multipart File Handling\n**Description**\nA Path Traversal (CWE-22) vulnerability in AdonisJS multipart file handling may allow a remote attacker to write arbitrary files to arbitrary locations on the server filesystem. This impacts @adonisjs/bodyparser through version 10.1.1 and 11.x prerelease versions prior to 11.0.0-next.6. This issue has been patched in @adonisjs/bodyparser versions 10.1.2 and 11.0.0-next.6.",
            "references": [
                {
                    "reference_url": "https://github.com/adonisjs/bodyparser/commit/143a16f35602be8561215611582211dec280cae6",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/adonisjs/bodyparser/commit/143a16f35602be8561215611582211dec280cae6"
                },
                {
                    "reference_url": "https://github.com/adonisjs/bodyparser/commit/6795c0e3fa824ae275bbd992aae60609e96f0f03",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/adonisjs/bodyparser/commit/6795c0e3fa824ae275bbd992aae60609e96f0f03"
                },
                {
                    "reference_url": "https://github.com/adonisjs/bodyparser/releases/tag/v10.1.2",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/adonisjs/bodyparser/releases/tag/v10.1.2"
                },
                {
                    "reference_url": "https://github.com/adonisjs/bodyparser/releases/tag/v11.0.0-next.6",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/adonisjs/bodyparser/releases/tag/v11.0.0-next.6"
                },
                {
                    "reference_url": "https://github.com/adonisjs/core",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/adonisjs/core"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-21440",
                    "reference_id": "CVE-2026-21440",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-21440"
                },
                {
                    "reference_url": "https://github.com/adonisjs/core/security/advisories/GHSA-gvq6-hvvp-h34h",
                    "reference_id": "GHSA-gvq6-hvvp-h34h",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/adonisjs/core/security/advisories/GHSA-gvq6-hvvp-h34h"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-gvq6-hvvp-h34h",
                    "reference_id": "GHSA-gvq6-hvvp-h34h",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-gvq6-hvvp-h34h"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/73163?format=api",
                    "purl": "pkg:npm/%40adonisjs/bodyparser@10.1.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540adonisjs/bodyparser@10.1.2"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/73164?format=api",
                    "purl": "pkg:npm/%40adonisjs/bodyparser@11.0.0-next.6",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540adonisjs/bodyparser@11.0.0-next.6"
                }
            ],
            "aliases": [
                "CVE-2026-21440",
                "GHSA-gvq6-hvvp-h34h"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-zab6-k8c8-pqcq"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540adonisjs/bodyparser@10.1.2"
}