Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/68122?format=api",
    "purl": "pkg:nuget/UmbracoCms@12.1.0",
    "type": "nuget",
    "namespace": "",
    "name": "UmbracoCms",
    "version": "12.1.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "12.2.0",
    "latest_non_vulnerable_version": "12.3.4",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/46613?format=api",
            "vulnerability_id": "VCID-wtw6-zcw6-2yd2",
            "summary": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')\nUmbraco is an ASP.NET content management system (CMS). Starting in version 8.0.0 and prior to versions 8.18.10, 10.7.0, and 12.1.0, a user with access to a specific part of the backoffice is able to inject HTML code into a form where it is not intended. Versions 8.18.10, 10.7.0, and 12.1.0 contain a patch for this issue.",
            "references": [
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-38694",
                    "reference_id": "CVE-2023-38694",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-38694"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-xxc6-35r7-796w",
                    "reference_id": "GHSA-xxc6-35r7-796w",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-xxc6-35r7-796w"
                },
                {
                    "reference_url": "https://github.com/umbraco/Umbraco-CMS/security/advisories/GHSA-xxc6-35r7-796w",
                    "reference_id": "GHSA-xxc6-35r7-796w",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/umbraco/Umbraco-CMS/security/advisories/GHSA-xxc6-35r7-796w"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/68114?format=api",
                    "purl": "pkg:nuget/UmbracoCms@8.18.10",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/UmbracoCms@8.18.10"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/68115?format=api",
                    "purl": "pkg:nuget/UmbracoCms@10.7.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/UmbracoCms@10.7.0"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/68122?format=api",
                    "purl": "pkg:nuget/UmbracoCms@12.1.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/UmbracoCms@12.1.0"
                }
            ],
            "aliases": [
                "CVE-2023-38694",
                "GHSA-xxc6-35r7-796w"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-wtw6-zcw6-2yd2"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/UmbracoCms@12.1.0"
}