Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/15851?format=api",
    "vulnerability_id": "VCID-zv2f-hpz1-ruba",
    "summary": "XWiki Platform allows XSS through XClass name in string properties\n### Impact\nIs it possible for a user without Script or Programming rights to craft a URL pointing to a page with arbitrary JavaScript.\nThis requires social engineer to trick a user to follow the URL.\n\n#### Reproduction steps\n\n1. As a user without script or programming right, create a (non-terminal) document named `\" + alert(1) + \"` (the quotes need to be part of the name).\n1. Edit the class.\n1. Add a string property named `\"test\"`.\n1. Edit using the object editor and add an object of the created class\n1. Get an admin to open `<xwiki-server>/xwiki/bin/view/%22%20%2B%20alert(1)%20%2B%20%22/?viewer=display&type=object&property=%22%20%2B%20alert(1)%20%2B%20%22.WebHome.test&mode=edit` where `<xwiki-server>` is the URL of your XWiki installation.\n\n### Patches\nThis has been patched in XWiki 14.10.21, 15.5.5, 15.10.6 and 16.0.0.\n\n### Workarounds\n\nWe're not aware of any workaround except upgrading.\n\n### References\n- https://jira.xwiki.org/browse/XWIKI-21810\n- https://github.com/xwiki/xwiki-platform/commit/27eca8423fc1ad177518077a733076821268509c",
    "aliases": [
        {
            "alias": "CVE-2024-43400"
        },
        {
            "alias": "GHSA-wcg9-pgqv-xm5v"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/55120?format=api",
            "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@14.10.21",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@14.10.21"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/55122?format=api",
            "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@15.5.5",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@15.5.5"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/55124?format=api",
            "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@15.10.6",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@15.10.6"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/55126?format=api",
            "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@16.0.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@16.0.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/146045?format=api",
            "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@1.1.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-zv2f-hpz1-ruba"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@1.1.2"
        },
        {
            "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"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/63032?format=api",
            "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@15.6-rc-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4mj5-repk-zyg2"
                },
                {
                    "vulnerability": "VCID-gtbq-9wht-6qg2"
                },
                {
                    "vulnerability": "VCID-jwfk-c9aq-5qbz"
                },
                {
                    "vulnerability": "VCID-q2b9-583a-9yd9"
                },
                {
                    "vulnerability": "VCID-sr4u-a9ek-u3g9"
                },
                {
                    "vulnerability": "VCID-zv2f-hpz1-ruba"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@15.6-rc-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/55125?format=api",
            "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@16.0.0-rc-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2act-yfey-vfgf"
                },
                {
                    "vulnerability": "VCID-f872-dkzj-ufac"
                },
                {
                    "vulnerability": "VCID-q2b9-583a-9yd9"
                },
                {
                    "vulnerability": "VCID-zv2f-hpz1-ruba"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@16.0.0-rc-1"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2024-43400",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.05688",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90375",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.05688",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90393",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.05688",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90379",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.05688",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90363",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.05688",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90467",
                    "published_at": "2026-05-09T12:55:00Z"
                },
                {
                    "value": "0.05688",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90455",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.05688",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90437",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.05688",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90425",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.05688",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90428",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.05688",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90429",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.05688",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90414",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.05688",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90416",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.05688",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90417",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.05688",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90407",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.05688",
                    "scoring_system": "epss",
                    "scoring_elements": "0.904",
                    "published_at": "2026-04-13T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2024-43400"
        },
        {
            "reference_url": "https://github.com/xwiki/xwiki-platform",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.0",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H"
                },
                {
                    "value": "9.4",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/xwiki/xwiki-platform"
        },
        {
            "reference_url": "https://github.com/xwiki/xwiki-platform/commit/27eca8423fc1ad177518077a733076821268509c",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.0",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H"
                },
                {
                    "value": "9.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H"
                },
                {
                    "value": "9.4",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H"
                },
                {
                    "value": "CRITICAL",
                    "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/2024-08-19T17:17:50Z/"
                }
            ],
            "url": "https://github.com/xwiki/xwiki-platform/commit/27eca8423fc1ad177518077a733076821268509c"
        },
        {
            "reference_url": "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-wcg9-pgqv-xm5v",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.0",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H"
                },
                {
                    "value": "9.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                },
                {
                    "value": "9.4",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H"
                },
                {
                    "value": "CRITICAL",
                    "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/2024-08-19T17:17:50Z/"
                }
            ],
            "url": "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-wcg9-pgqv-xm5v"
        },
        {
            "reference_url": "https://jira.xwiki.org/browse/XWIKI-21810",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.0",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H"
                },
                {
                    "value": "9.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H"
                },
                {
                    "value": "9.4",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H"
                },
                {
                    "value": "CRITICAL",
                    "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/2024-08-19T17:17:50Z/"
                }
            ],
            "url": "https://jira.xwiki.org/browse/XWIKI-21810"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-43400",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.0",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H"
                },
                {
                    "value": "9.4",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-43400"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-wcg9-pgqv-xm5v",
            "reference_id": "GHSA-wcg9-pgqv-xm5v",
            "reference_type": "",
            "scores": [
                {
                    "value": "CRITICAL",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-wcg9-pgqv-xm5v"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 79,
            "name": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
            "description": "The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users."
        },
        {
            "cwe_id": 96,
            "name": "Improper Neutralization of Directives in Statically Saved Code ('Static Code Injection')",
            "description": "The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes code syntax before inserting the input into an executable resource, such as a library, configuration file, or template."
        },
        {
            "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": 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."
        }
    ],
    "exploits": [],
    "severity_range_score": "9.0 - 10.0",
    "exploitability": "0.5",
    "weighted_severity": "9.0",
    "risk_score": 4.5,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-zv2f-hpz1-ruba"
}