Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/73486?format=api",
    "purl": "pkg:maven/fr.opensagres.xdocreport/fr.opensagres.xdocreport.template.freemarker@2.2.0",
    "type": "maven",
    "namespace": "fr.opensagres.xdocreport",
    "name": "fr.opensagres.xdocreport.template.freemarker",
    "version": "2.2.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.2.0",
    "latest_non_vulnerable_version": "2.2.0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/49760?format=api",
            "vulnerability_id": "VCID-qbqq-5jre-6uey",
            "summary": "XDocReport affected by a Server-Side Template Injection (SSTI) vulnerability\nA Server-Side Template Injection (SSTI) vulnerability in the FreeMarker component of opensagres XDocReport v1.0.0 to v2.1.0 allows attackers to execute arbitrary code via injecting crafted template expressions.",
            "references": [
                {
                    "reference_url": "https://github.com/opensagres/xdocreport",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/opensagres/xdocreport"
                },
                {
                    "reference_url": "https://github.com/opensagres/xdocreport/commit/3b35d105e5ae2006bcaa2b07563188efc466711d",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/opensagres/xdocreport/commit/3b35d105e5ae2006bcaa2b07563188efc466711d"
                },
                {
                    "reference_url": "https://github.com/opensagres/xdocreport/pull/705",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/opensagres/xdocreport/pull/705"
                },
                {
                    "reference_url": "https://hackmd.io/@cuongnh/BJEnw7SAlg",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://hackmd.io/@cuongnh/BJEnw7SAlg"
                },
                {
                    "reference_url": "https://hackmd.io/@cuongnh/SkQvhEf0lx",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://hackmd.io/@cuongnh/SkQvhEf0lx"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2025-64087",
                    "reference_id": "CVE-2025-64087",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-64087"
                },
                {
                    "reference_url": "https://github.com/AT190510-Cuong/CVE-2025-64087-SSTI-",
                    "reference_id": "CVE-2025-64087-SSTI-",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/AT190510-Cuong/CVE-2025-64087-SSTI-"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-r8w2-w357-9pjv",
                    "reference_id": "GHSA-r8w2-w357-9pjv",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-r8w2-w357-9pjv"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/73486?format=api",
                    "purl": "pkg:maven/fr.opensagres.xdocreport/fr.opensagres.xdocreport.template.freemarker@2.2.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/fr.opensagres.xdocreport/fr.opensagres.xdocreport.template.freemarker@2.2.0"
                }
            ],
            "aliases": [
                "CVE-2025-64087",
                "GHSA-r8w2-w357-9pjv"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-qbqq-5jre-6uey"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/fr.opensagres.xdocreport/fr.opensagres.xdocreport.template.freemarker@2.2.0"
}