Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/68458?format=api",
    "purl": "pkg:npm/maildev@2.0.0-beta1",
    "type": "npm",
    "namespace": "",
    "name": "maildev",
    "version": "2.0.0-beta1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/19821?format=api",
            "vulnerability_id": "VCID-d5c2-3ngw-4ygk",
            "summary": "MailDev Remote Code Execution\nMailDev 2 through 2.1.0 allows Remote Code Execution via a crafted Content-ID header for an e-mail attachment, leading to `lib/mailserver.js` writing arbitrary code into the `routes.js` file.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2024-27448",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.13026",
                            "scoring_system": "epss",
                            "scoring_elements": "0.94206",
                            "published_at": "2026-05-30T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2024-27448"
                },
                {
                    "reference_url": "https://gist.github.com/stypr/fe2003f00959f7e3d92ab9d5260433f8",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://gist.github.com/stypr/fe2003f00959f7e3d92ab9d5260433f8"
                },
                {
                    "reference_url": "https://github.com/maildev/maildev",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/maildev/maildev"
                },
                {
                    "reference_url": "https://github.com/maildev/maildev/issues/467",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/maildev/maildev/issues/467"
                },
                {
                    "reference_url": "https://github.com/maildev/maildev/releases",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/maildev/maildev/releases"
                },
                {
                    "reference_url": "https://github.com/Tim-Hoekstra/MailDev-2.1.0-Exploit-RCE",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/Tim-Hoekstra/MailDev-2.1.0-Exploit-RCE"
                },
                {
                    "reference_url": "https://intrix.com.au/articles/exposing-major-security-flaw-in-maildev",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://intrix.com.au/articles/exposing-major-security-flaw-in-maildev"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-27448",
                    "reference_id": "CVE-2024-27448",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-27448"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-vc6q-ccj9-9r89",
                    "reference_id": "GHSA-vc6q-ccj9-9r89",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "CRITICAL",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-vc6q-ccj9-9r89"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2024-27448",
                "GHSA-vc6q-ccj9-9r89"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-d5c2-3ngw-4ygk"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/maildev@2.0.0-beta1"
}