Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/64841?format=api",
    "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-invitation-ui@13.10.11",
    "type": "maven",
    "namespace": "org.xwiki.platform",
    "name": "xwiki-platform-invitation-ui",
    "version": "13.10.11",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "14.4.8",
    "latest_non_vulnerable_version": "15.2-rc-1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/44994?format=api",
            "vulnerability_id": "VCID-56wx-gzug-f3d8",
            "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. Any user with view rights can execute arbitrary Groovy, Python or Velocity code in XWiki leading to full access to the XWiki installation. The root cause is improper escaping of `Invitation.InvitationCommon`. This page is installed by default. The vulnerability has been patched in XWiki 15.0-rc-1, 14.10.1, 14.4.8, and 13.10.11. Users are advised to upgrade. There are no known workarounds for this issue.",
            "references": [
                {
                    "reference_url": "https://github.com/xwiki/xwiki-platform",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/xwiki/xwiki-platform"
                },
                {
                    "reference_url": "https://github.com/xwiki/xwiki-platform/commit/3d055a0a5ec42fdebce4d71ee98f94553fdbfebf",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/xwiki/xwiki-platform/commit/3d055a0a5ec42fdebce4d71ee98f94553fdbfebf"
                },
                {
                    "reference_url": "https://jira.xwiki.org/browse/XWIKI-20283",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://jira.xwiki.org/browse/XWIKI-20283"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-29518",
                    "reference_id": "CVE-2023-29518",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-29518"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-px54-3w5j-qjg9",
                    "reference_id": "GHSA-px54-3w5j-qjg9",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-px54-3w5j-qjg9"
                },
                {
                    "reference_url": "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-px54-3w5j-qjg9",
                    "reference_id": "GHSA-px54-3w5j-qjg9",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-px54-3w5j-qjg9"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/64841?format=api",
                    "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-invitation-ui@13.10.11",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-invitation-ui@13.10.11"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/64842?format=api",
                    "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-invitation-ui@14.4.8",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-invitation-ui@14.4.8"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/64843?format=api",
                    "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-invitation-ui@14.10.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-invitation-ui@14.10.1"
                }
            ],
            "aliases": [
                "CVE-2023-29518",
                "GHSA-px54-3w5j-qjg9"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-56wx-gzug-f3d8"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-invitation-ui@13.10.11"
}