Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/12660?format=api",
    "vulnerability_id": "VCID-qt8r-6rqv-tkhu",
    "summary": "Missing Authorization\nXWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In affected versions any user with SCRIPT right can read any file located in the XWiki WAR (for example xwiki.cfg and xwiki.properties) through XWiki#invokeServletAndReturnAsString as `$xwiki.invokeServletAndReturnAsString(\"/WEB-INF/xwiki.cfg\")`. This issue has been patched in XWiki versions 12.10.9, 13.4.3 and 13.7-rc-1. Users are advised to update. The only workaround is to limit SCRIPT right.",
    "aliases": [
        {
            "alias": "CVE-2022-23621"
        },
        {
            "alias": "GHSA-2jhm-qp48-hv5j"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/45486?format=api",
            "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@12.10.9",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@12.10.9"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/80521?format=api",
            "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@13.4.3",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@13.4.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/45485?format=api",
            "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@13.7-rc-1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@13.7-rc-1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/45208?format=api",
            "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@13.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-115a-j3ec-fkas"
                },
                {
                    "vulnerability": "VCID-qt8r-6rqv-tkhu"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@13.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/143242?format=api",
            "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@13.6-rc-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-qt8r-6rqv-tkhu"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@13.6-rc-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/143243?format=api",
            "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@13.6",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-qt8r-6rqv-tkhu"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@13.6"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-23621",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00105",
                    "scoring_system": "epss",
                    "scoring_elements": "0.28127",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.00105",
                    "scoring_system": "epss",
                    "scoring_elements": "0.28635",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00105",
                    "scoring_system": "epss",
                    "scoring_elements": "0.28676",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00105",
                    "scoring_system": "epss",
                    "scoring_elements": "0.28677",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00105",
                    "scoring_system": "epss",
                    "scoring_elements": "0.28632",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00105",
                    "scoring_system": "epss",
                    "scoring_elements": "0.28585",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00105",
                    "scoring_system": "epss",
                    "scoring_elements": "0.28605",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00105",
                    "scoring_system": "epss",
                    "scoring_elements": "0.2858",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00105",
                    "scoring_system": "epss",
                    "scoring_elements": "0.28532",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00105",
                    "scoring_system": "epss",
                    "scoring_elements": "0.28416",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00105",
                    "scoring_system": "epss",
                    "scoring_elements": "0.28305",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.00105",
                    "scoring_system": "epss",
                    "scoring_elements": "0.28228",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.00105",
                    "scoring_system": "epss",
                    "scoring_elements": "0.28065",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.00105",
                    "scoring_system": "epss",
                    "scoring_elements": "0.28714",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00105",
                    "scoring_system": "epss",
                    "scoring_elements": "0.28762",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00105",
                    "scoring_system": "epss",
                    "scoring_elements": "0.28569",
                    "published_at": "2026-04-07T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-23621"
        },
        {
            "reference_url": "https://github.com/xwiki/xwiki-platform",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:H"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/xwiki/xwiki-platform"
        },
        {
            "reference_url": "https://github.com/xwiki/xwiki-platform/commit/df8bd49b5a4d87a427002c6535fb5b1746ff117a",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:H"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/xwiki/xwiki-platform/commit/df8bd49b5a4d87a427002c6535fb5b1746ff117a"
        },
        {
            "reference_url": "https://jira.xwiki.org/browse/XWIKI-18870",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:H"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://jira.xwiki.org/browse/XWIKI-18870"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-23621",
            "reference_id": "CVE-2022-23621",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:H"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-23621"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-2jhm-qp48-hv5j",
            "reference_id": "GHSA-2jhm-qp48-hv5j",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-2jhm-qp48-hv5j"
        },
        {
            "reference_url": "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-2jhm-qp48-hv5j",
            "reference_id": "GHSA-2jhm-qp48-hv5j",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:H"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-2jhm-qp48-hv5j"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        },
        {
            "cwe_id": 862,
            "name": "Missing Authorization",
            "description": "The product does not perform an authorization check when an actor attempts to access a resource or perform an action."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        },
        {
            "cwe_id": 552,
            "name": "Files or Directories Accessible to External Parties",
            "description": "The product makes files or directories accessible to unauthorized actors, even though they should not be."
        }
    ],
    "exploits": [],
    "severity_range_score": "4.0 - 6.9",
    "exploitability": "0.5",
    "weighted_severity": "6.2",
    "risk_score": 3.1,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-qt8r-6rqv-tkhu"
}