Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/18821?format=api",
    "vulnerability_id": "VCID-3ksc-nvrc-6ub3",
    "summary": "Cross-Site Request Forgery (CSRF)\nXWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. The create action is vulnerable to a CSRF attack, allowing script and thus remote code execution when targeting a user with script/programming right, thus compromising the confidentiality, integrity and availability of the whole XWiki installation. When a user with script right views this image and a log message `ERROR foo - Script executed!` appears in the log, the XWiki installation is vulnerable. This has been patched in XWiki 14.10.9 and 15.4RC1 by requiring a CSRF token for the actual page creation.",
    "aliases": [
        {
            "alias": "CVE-2023-40572"
        },
        {
            "alias": "GHSA-4f8m-7h83-9f6m"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/59586?format=api",
            "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@14.10.9",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@14.10.9"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/59587?format=api",
            "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@15.4-rc-1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@15.4-rc-1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/58374?format=api",
            "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@3.2-milestone-3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3ksc-nvrc-6ub3"
                },
                {
                    "vulnerability": "VCID-wrtd-493v-3yaa"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@3.2-milestone-3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/58495?format=api",
            "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@15.0-rc-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3ksc-nvrc-6ub3"
                },
                {
                    "vulnerability": "VCID-64wz-61e9-97h4"
                },
                {
                    "vulnerability": "VCID-6keh-puhm-6kc7"
                },
                {
                    "vulnerability": "VCID-gtbq-9wht-6qg2"
                },
                {
                    "vulnerability": "VCID-jwfk-c9aq-5qbz"
                },
                {
                    "vulnerability": "VCID-q2b9-583a-9yd9"
                },
                {
                    "vulnerability": "VCID-sr4u-a9ek-u3g9"
                },
                {
                    "vulnerability": "VCID-tue2-pwje-qqfz"
                },
                {
                    "vulnerability": "VCID-zv2f-hpz1-ruba"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@15.0-rc-1"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2023-40572",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.01802",
                    "scoring_system": "epss",
                    "scoring_elements": "0.82934",
                    "published_at": "2026-05-09T12:55:00Z"
                },
                {
                    "value": "0.01802",
                    "scoring_system": "epss",
                    "scoring_elements": "0.82757",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.01802",
                    "scoring_system": "epss",
                    "scoring_elements": "0.82783",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.01802",
                    "scoring_system": "epss",
                    "scoring_elements": "0.82789",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.01802",
                    "scoring_system": "epss",
                    "scoring_elements": "0.82806",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.01802",
                    "scoring_system": "epss",
                    "scoring_elements": "0.82801",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.01802",
                    "scoring_system": "epss",
                    "scoring_elements": "0.82796",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.01802",
                    "scoring_system": "epss",
                    "scoring_elements": "0.82835",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.01802",
                    "scoring_system": "epss",
                    "scoring_elements": "0.82834",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.01802",
                    "scoring_system": "epss",
                    "scoring_elements": "0.82837",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.01802",
                    "scoring_system": "epss",
                    "scoring_elements": "0.8286",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.01802",
                    "scoring_system": "epss",
                    "scoring_elements": "0.82869",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.01802",
                    "scoring_system": "epss",
                    "scoring_elements": "0.82873",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.01802",
                    "scoring_system": "epss",
                    "scoring_elements": "0.82893",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.01802",
                    "scoring_system": "epss",
                    "scoring_elements": "0.82913",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.01802",
                    "scoring_system": "epss",
                    "scoring_elements": "0.82747",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.01802",
                    "scoring_system": "epss",
                    "scoring_elements": "0.8276",
                    "published_at": "2026-04-04T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2023-40572"
        },
        {
            "reference_url": "https://github.com/xwiki/xwiki-platform",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.0",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/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/123e5d7e4ca06bf75b95aaef665aafc4fa9cae64",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.0",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/xwiki/xwiki-platform/commit/123e5d7e4ca06bf75b95aaef665aafc4fa9cae64"
        },
        {
            "reference_url": "https://github.com/xwiki/xwiki-platform/commit/4b20528808d0c311290b0d9ab2cfc44063380ef7",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.0",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/xwiki/xwiki-platform/commit/4b20528808d0c311290b0d9ab2cfc44063380ef7"
        },
        {
            "reference_url": "https://jira.xwiki.org/browse/XWIKI-20849",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.0",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://jira.xwiki.org/browse/XWIKI-20849"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-40572",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.0",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/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-40572"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-4f8m-7h83-9f6m",
            "reference_id": "GHSA-4f8m-7h83-9f6m",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-4f8m-7h83-9f6m"
        },
        {
            "reference_url": "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-4f8m-7h83-9f6m",
            "reference_id": "GHSA-4f8m-7h83-9f6m",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.0",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-4f8m-7h83-9f6m"
        }
    ],
    "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": 352,
            "name": "Cross-Site Request Forgery (CSRF)",
            "description": "The web application does not, or can not, sufficiently verify whether a well-formed, valid, consistent request was intentionally provided by the user who submitted the request."
        },
        {
            "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."
        }
    ],
    "exploits": [],
    "severity_range_score": "7.0 - 8.9",
    "exploitability": "0.5",
    "weighted_severity": "8.0",
    "risk_score": 4.0,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-3ksc-nvrc-6ub3"
}