Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/84106?format=api",
    "purl": "pkg:nuget/Microsoft.AspNetCore.SpaServices@2.2.7",
    "type": "nuget",
    "namespace": "",
    "name": "Microsoft.AspNetCore.SpaServices",
    "version": "2.2.7",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/5149?format=api",
            "vulnerability_id": "VCID-pa95-mtgb-yuf2",
            "summary": "Microsoft Security Advisory CVE-2019-1302: ASP.NET Core Elevation Of Privilege Vulnerability",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2019-1302",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.09908",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93072",
                            "published_at": "2026-05-12T12:55:00Z"
                        },
                        {
                            "value": "0.09908",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93021",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.09908",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93029",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.09908",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93035",
                            "published_at": "2026-05-05T12:55:00Z"
                        },
                        {
                            "value": "0.09908",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9303",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.09908",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93051",
                            "published_at": "2026-05-07T12:55:00Z"
                        },
                        {
                            "value": "0.09908",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93062",
                            "published_at": "2026-05-09T12:55:00Z"
                        },
                        {
                            "value": "0.09908",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93065",
                            "published_at": "2026-05-11T12:55:00Z"
                        },
                        {
                            "value": "0.09908",
                            "scoring_system": "epss",
                            "scoring_elements": "0.92981",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.09908",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9299",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.09908",
                            "scoring_system": "epss",
                            "scoring_elements": "0.92993",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.09908",
                            "scoring_system": "epss",
                            "scoring_elements": "0.92992",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.09908",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93001",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.09908",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93005",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.09908",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9301",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.09908",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93008",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.09908",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93009",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.09908",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93019",
                            "published_at": "2026-04-16T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2019-1302"
                },
                {
                    "reference_url": "https://github.com/aspnet/Announcements/issues/384",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/aspnet/Announcements/issues/384"
                },
                {
                    "reference_url": "https://github.com/github/advisory-database/issues/302",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/github/advisory-database/issues/302"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2019-1302",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.8",
                            "scoring_system": "cvssv2",
                            "scoring_elements": "AV:N/AC:M/Au:N/C:P/I:P/A:P"
                        },
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-1302"
                },
                {
                    "reference_url": "https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2019-1302",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2019-1302"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:microsoft:asp.net_core:2.1:*:*:*:*:*:*:*",
                    "reference_id": "cpe:2.3:a:microsoft:asp.net_core:2.1:*:*:*:*:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:microsoft:asp.net_core:2.1:*:*:*:*:*:*:*"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:microsoft:asp.net_core:2.2:*:*:*:*:*:*:*",
                    "reference_id": "cpe:2.3:a:microsoft:asp.net_core:2.2:*:*:*:*:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:microsoft:asp.net_core:2.2:*:*:*:*:*:*:*"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:microsoft:asp.net_core:3.0:*:*:*:*:*:*:*",
                    "reference_id": "cpe:2.3:a:microsoft:asp.net_core:3.0:*:*:*:*:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:microsoft:asp.net_core:3.0:*:*:*:*:*:*:*"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-xr8f-59pp-rxxh",
                    "reference_id": "GHSA-xr8f-59pp-rxxh",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-xr8f-59pp-rxxh"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/1584?format=api",
                    "purl": "pkg:nuget/Microsoft.AspNetCore.SpaServices@2.1.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Microsoft.AspNetCore.SpaServices@2.1.2"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/84107?format=api",
                    "purl": "pkg:nuget/Microsoft.AspNetCore.SpaServices@2.1.13",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Microsoft.AspNetCore.SpaServices@2.1.13"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/1587?format=api",
                    "purl": "pkg:nuget/Microsoft.AspNetCore.SpaServices@2.2.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Microsoft.AspNetCore.SpaServices@2.2.1"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/84106?format=api",
                    "purl": "pkg:nuget/Microsoft.AspNetCore.SpaServices@2.2.7",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Microsoft.AspNetCore.SpaServices@2.2.7"
                }
            ],
            "aliases": [
                "CVE-2019-1302",
                "GHSA-xr8f-59pp-rxxh"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "7.9",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-pa95-mtgb-yuf2"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Microsoft.AspNetCore.SpaServices@2.2.7"
}