Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/68146?format=api",
    "purl": "pkg:nuget/Umbraco.CMS@8.18.9",
    "type": "nuget",
    "namespace": "",
    "name": "Umbraco.CMS",
    "version": "8.18.9",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "8.18.10",
    "latest_non_vulnerable_version": "17.2.2",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/46620?format=api",
            "vulnerability_id": "VCID-azpt-qmk7-1ueu",
            "summary": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')\nUmbraco is an ASP.NET content management system (CMS). Starting in version 7.0.0 and prior to versions 7.15.11, 8.18.9, 10.7.0, 11.5.0, and 12.2.0, a user with access to the backoffice can upload SVG files that include scripts. If the user can trick another user to load the media directly in a browser, the scripts can be executed. Versions 7.15.11, 8.18.9, 10.7.0, 11.5.0, and 12.2.0 contain a patch for this issue. Some workarounds are available. Implement the server side file validation or serve all media from an different host (e.g cdn) than where Umbraco is hosted.",
            "references": [
                {
                    "reference_url": "https://docs.umbraco.com/umbraco-cms/reference/security/serverside-file-validation",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://docs.umbraco.com/umbraco-cms/reference/security/serverside-file-validation"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-49279",
                    "reference_id": "CVE-2023-49279",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-49279"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-6xmx-85x3-4cv2",
                    "reference_id": "GHSA-6xmx-85x3-4cv2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-6xmx-85x3-4cv2"
                },
                {
                    "reference_url": "https://github.com/umbraco/Umbraco-CMS/security/advisories/GHSA-6xmx-85x3-4cv2",
                    "reference_id": "GHSA-6xmx-85x3-4cv2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/umbraco/Umbraco-CMS/security/advisories/GHSA-6xmx-85x3-4cv2"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/68145?format=api",
                    "purl": "pkg:nuget/Umbraco.CMS@7.15.11",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Umbraco.CMS@7.15.11"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/68146?format=api",
                    "purl": "pkg:nuget/Umbraco.CMS@8.18.9",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Umbraco.CMS@8.18.9"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/68147?format=api",
                    "purl": "pkg:nuget/Umbraco.CMS@10.7.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Umbraco.CMS@10.7.0"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/68148?format=api",
                    "purl": "pkg:nuget/Umbraco.CMS@11.5.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Umbraco.CMS@11.5.0"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/68149?format=api",
                    "purl": "pkg:nuget/Umbraco.CMS@12.2.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Umbraco.CMS@12.2.0"
                }
            ],
            "aliases": [
                "CVE-2023-49279",
                "GHSA-6xmx-85x3-4cv2"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-azpt-qmk7-1ueu"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Umbraco.CMS@8.18.9"
}