Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/561888?format=api",
    "purl": "pkg:nuget/RazorEngine@3.0.7",
    "type": "nuget",
    "namespace": "",
    "name": "RazorEngine",
    "version": "3.0.7",
    "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/42594?format=api",
            "vulnerability_id": "VCID-z3eu-wjtb-ryf1",
            "summary": "Code injection in RazorEngine\nIn the IsolatedRazorEngine component of Antaris RazorEngine through 4.5.1-alpha001, an attacker can execute arbitrary .NET code in a sandboxed environment (if users can externally control template contents). NOTE: This vulnerability only affects products that are no longer supported by the maintainer.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-46703",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.01421",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80979",
                            "published_at": "2026-06-09T12:55:00Z"
                        },
                        {
                            "value": "0.01421",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80936",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.01421",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80964",
                            "published_at": "2026-06-07T12:55:00Z"
                        },
                        {
                            "value": "0.01421",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80967",
                            "published_at": "2026-06-06T12:55:00Z"
                        },
                        {
                            "value": "0.01421",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80961",
                            "published_at": "2026-06-08T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-46703"
                },
                {
                    "reference_url": "https://github.com/Antaris/RazorEngine",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/Antaris/RazorEngine"
                },
                {
                    "reference_url": "https://github.com/Antaris/RazorEngine/issues/585",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/Antaris/RazorEngine/issues/585"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-46703",
                    "reference_id": "CVE-2021-46703",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-46703"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-ph3v-2hq5-5qfq",
                    "reference_id": "GHSA-ph3v-2hq5-5qfq",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "CRITICAL",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-ph3v-2hq5-5qfq"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2021-46703",
                "GHSA-ph3v-2hq5-5qfq"
            ],
            "risk_score": 4.5,
            "exploitability": "0.5",
            "weighted_severity": "9.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-z3eu-wjtb-ryf1"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "4.5",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/RazorEngine@3.0.7"
}