Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/64901?format=api",
    "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-rendering-async-macro@14.4.8",
    "type": "maven",
    "namespace": "org.xwiki.platform",
    "name": "xwiki-platform-rendering-async-macro",
    "version": "14.4.8",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "14.9",
    "latest_non_vulnerable_version": "14.10.3",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/44995?format=api",
            "vulnerability_id": "VCID-rft8-62vx-x7bq",
            "summary": "Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')\nXWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In affected versions it's possible to display or interact with any page a user cannot access through the combination of the async and display macros. A comment with either macro will be executed when viewed providing a code injection vector in the context of the running server. This vulnerability has been patched in XWiki 15.0-rc-1, 14.10.3, 14.4.8, and 13.10.11. Users are advised to upgrade. There are no known workarounds for this issue.",
            "references": [
                {
                    "reference_url": "https://jira.xwiki.org/browse/XRENDERING-694",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://jira.xwiki.org/browse/XRENDERING-694"
                },
                {
                    "reference_url": "https://jira.xwiki.org/browse/XWIKI-20394",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://jira.xwiki.org/browse/XWIKI-20394"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-29526",
                    "reference_id": "CVE-2023-29526",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-29526"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-gpq5-7p34-vqx5",
                    "reference_id": "GHSA-gpq5-7p34-vqx5",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-gpq5-7p34-vqx5"
                },
                {
                    "reference_url": "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-gpq5-7p34-vqx5",
                    "reference_id": "GHSA-gpq5-7p34-vqx5",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-gpq5-7p34-vqx5"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/64900?format=api",
                    "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-rendering-async-macro@13.10.11",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-rendering-async-macro@13.10.11"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/64901?format=api",
                    "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-rendering-async-macro@14.4.8",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-rendering-async-macro@14.4.8"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/64902?format=api",
                    "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-rendering-async-macro@14.10.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-rendering-async-macro@14.10.3"
                }
            ],
            "aliases": [
                "CVE-2023-29526",
                "GHSA-gpq5-7p34-vqx5"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-rft8-62vx-x7bq"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-rendering-async-macro@14.4.8"
}