Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/570537?format=api",
    "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@7.2-milestone-2",
    "type": "maven",
    "namespace": "org.xwiki.platform",
    "name": "xwiki-platform-oldcore",
    "version": "7.2-milestone-2",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "11.10.5",
    "latest_non_vulnerable_version": "17.10.1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/30160?format=api",
            "vulnerability_id": "VCID-4n2t-crsf-87gr",
            "summary": "XWiki allows remote code execution through preview of XClass changes in AWM editor\n### Impact\nAny XWiki user with edit right on at least one App Within Minutes application (the default for all users XWiki) can obtain programming right/perform remote code execution by editing the application. The detailed reproduction steps can be found in the [original bug report](https://jira.xwiki.org/browse/XWIKI-22719).\n\n### Patches\nThis vulnerability has been fixed in XWiki 17.0.0, 16.4.7, and 16.10.3.\n\n### Workarounds\nRestricting edit rights on all existing App Within Minutes applications to trusted users mitigates at least the PoC exploit, but we can't exclude that there are other ways to exploit this vulnerability.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2025-49586",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.04551",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89147",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.04551",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89182",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.04551",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89165",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.04551",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89162",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.09249",
                            "scoring_system": "epss",
                            "scoring_elements": "0.92761",
                            "published_at": "2026-05-07T12:55:00Z"
                        },
                        {
                            "value": "0.09249",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9272",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.09249",
                            "scoring_system": "epss",
                            "scoring_elements": "0.92726",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.09249",
                            "scoring_system": "epss",
                            "scoring_elements": "0.92725",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.09249",
                            "scoring_system": "epss",
                            "scoring_elements": "0.92736",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.09249",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9274",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.09249",
                            "scoring_system": "epss",
                            "scoring_elements": "0.92743",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.09249",
                            "scoring_system": "epss",
                            "scoring_elements": "0.92744",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.09249",
                            "scoring_system": "epss",
                            "scoring_elements": "0.92739",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.09249",
                            "scoring_system": "epss",
                            "scoring_elements": "0.92748",
                            "published_at": "2026-05-05T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2025-49586"
                },
                {
                    "reference_url": "https://github.com/xwiki/xwiki-platform",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.7",
                            "scoring_system": "cvssv4",
                            "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/xwiki/xwiki-platform"
                },
                {
                    "reference_url": "https://github.com/xwiki/xwiki-platform/commit/ef978315649cf83eae396021bb33603a1a5f7e42",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.7",
                            "scoring_system": "cvssv4",
                            "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        },
                        {
                            "value": "Track*",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2025-06-13T18:07:25Z/"
                        }
                    ],
                    "url": "https://github.com/xwiki/xwiki-platform/commit/ef978315649cf83eae396021bb33603a1a5f7e42"
                },
                {
                    "reference_url": "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-jp4x-w9cj-97q7",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        },
                        {
                            "value": "8.7",
                            "scoring_system": "cvssv4",
                            "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        },
                        {
                            "value": "Track*",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2025-06-13T18:07:25Z/"
                        }
                    ],
                    "url": "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-jp4x-w9cj-97q7"
                },
                {
                    "reference_url": "https://jira.xwiki.org/browse/XWIKI-22719",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.7",
                            "scoring_system": "cvssv4",
                            "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        },
                        {
                            "value": "Track*",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2025-06-13T18:07:25Z/"
                        }
                    ],
                    "url": "https://jira.xwiki.org/browse/XWIKI-22719"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2025-49586",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.7",
                            "scoring_system": "cvssv4",
                            "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-49586"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-jp4x-w9cj-97q7",
                    "reference_id": "GHSA-jp4x-w9cj-97q7",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-jp4x-w9cj-97q7"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/69929?format=api",
                    "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@16.4.7",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@16.4.7"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/70939?format=api",
                    "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@16.10.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@16.10.3"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/70940?format=api",
                    "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@17.0.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@17.0.0"
                }
            ],
            "aliases": [
                "CVE-2025-49586",
                "GHSA-jp4x-w9cj-97q7"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-4n2t-crsf-87gr"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "4.0",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@7.2-milestone-2"
}