Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/28852?format=api",
    "vulnerability_id": "VCID-p59s-q94b-9kb6",
    "summary": "XWiki exposes passwords and emails stored in fields not named password/email in xml.vm\n### Impact\nThe XML export of a page in XWiki that can be triggered by any user with view rights on a page by appending `?xpage=xml` to the URL includes password and email properties stored on a document that aren't named `password` or `email`. This allows any user to obtain the salted and hashed user account validation or password reset token. As those tokens are randomly generated strings, the immediate impact of this should be low. The user's password and email itself aren't exposed as those fields are named `password` and `email` and thus aren't affected. However, depending on how the wiki is used, there could be extensions or custom code that store passwords in plain text in such password properties that would be exposed by this vulnerability.\n\n### Patches\nThis vulnerability has been fixed by completely removing the output of password and email fields in this XML export in versions 17.2.0 RC1, 16.10.5 and 16.4.7.\n\n### Workarounds\nIf this XML export isn't needed, the file `templates/xml.vm` in the deployed WAR can be deleted. There isn't any feature in XWiki itself that depends on this XML export.",
    "aliases": [
        {
            "alias": "CVE-2025-54125"
        },
        {
            "alias": "GHSA-57q2-6cp4-9mq3"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/69932?format=api",
            "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-legacy-oldcore@16.4.7",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-legacy-oldcore@16.4.7"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/69933?format=api",
            "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-legacy-oldcore@16.10.5",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-legacy-oldcore@16.10.5"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/69934?format=api",
            "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-legacy-oldcore@17.2.0-rc-1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-legacy-oldcore@17.2.0-rc-1"
        },
        {
            "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/69930?format=api",
            "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@16.10.5",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@16.10.5"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/69931?format=api",
            "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@17.2.0-rc-1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@17.2.0-rc-1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/570704?format=api",
            "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-legacy-oldcore@1.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-p59s-q94b-9kb6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-legacy-oldcore@1.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/570705?format=api",
            "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-legacy-oldcore@16.5.0-rc-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3m9j-nt38-x3hq"
                },
                {
                    "vulnerability": "VCID-p59s-q94b-9kb6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-legacy-oldcore@16.5.0-rc-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/570706?format=api",
            "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-legacy-oldcore@17.0.0-rc-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3m9j-nt38-x3hq"
                },
                {
                    "vulnerability": "VCID-4tnv-dtd4-ubc5"
                },
                {
                    "vulnerability": "VCID-p59s-q94b-9kb6"
                },
                {
                    "vulnerability": "VCID-zha9-bprb-6ucp"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-legacy-oldcore@17.0.0-rc-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/144468?format=api",
            "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@1.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-cred-gs3x-1yc5"
                },
                {
                    "vulnerability": "VCID-p59s-q94b-9kb6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@1.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/570348?format=api",
            "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@16.5.0-rc-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2act-yfey-vfgf"
                },
                {
                    "vulnerability": "VCID-3m9j-nt38-x3hq"
                },
                {
                    "vulnerability": "VCID-4n2t-crsf-87gr"
                },
                {
                    "vulnerability": "VCID-f872-dkzj-ufac"
                },
                {
                    "vulnerability": "VCID-p59s-q94b-9kb6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@16.5.0-rc-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/570538?format=api",
            "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@17.0.0-rc-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3m9j-nt38-x3hq"
                },
                {
                    "vulnerability": "VCID-4n2t-crsf-87gr"
                },
                {
                    "vulnerability": "VCID-4tnv-dtd4-ubc5"
                },
                {
                    "vulnerability": "VCID-p59s-q94b-9kb6"
                },
                {
                    "vulnerability": "VCID-zha9-bprb-6ucp"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@17.0.0-rc-1"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2025-54125",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00556",
                    "scoring_system": "epss",
                    "scoring_elements": "0.68205",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00556",
                    "scoring_system": "epss",
                    "scoring_elements": "0.68163",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00556",
                    "scoring_system": "epss",
                    "scoring_elements": "0.6824",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.00556",
                    "scoring_system": "epss",
                    "scoring_elements": "0.68194",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.00556",
                    "scoring_system": "epss",
                    "scoring_elements": "0.68219",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.00556",
                    "scoring_system": "epss",
                    "scoring_elements": "0.68215",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.00635",
                    "scoring_system": "epss",
                    "scoring_elements": "0.70349",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00635",
                    "scoring_system": "epss",
                    "scoring_elements": "0.7041",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00635",
                    "scoring_system": "epss",
                    "scoring_elements": "0.70395",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00635",
                    "scoring_system": "epss",
                    "scoring_elements": "0.70455",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00635",
                    "scoring_system": "epss",
                    "scoring_elements": "0.70446",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00635",
                    "scoring_system": "epss",
                    "scoring_elements": "0.70353",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00635",
                    "scoring_system": "epss",
                    "scoring_elements": "0.70404",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00635",
                    "scoring_system": "epss",
                    "scoring_elements": "0.70418",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00635",
                    "scoring_system": "epss",
                    "scoring_elements": "0.70433",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00635",
                    "scoring_system": "epss",
                    "scoring_elements": "0.7037",
                    "published_at": "2026-04-04T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2025-54125"
        },
        {
            "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:N/UI:N/VC:H/VI:N/VA:N/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/742ee3482ef6c2bd4ad03d0de9cdd81d0e8f3d59",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.7",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/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:Y/T:P/P:M/B:A/M:M/D:T/2025-08-06T20:28:50Z/"
                }
            ],
            "url": "https://github.com/xwiki/xwiki-platform/commit/742ee3482ef6c2bd4ad03d0de9cdd81d0e8f3d59"
        },
        {
            "reference_url": "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-57q2-6cp4-9mq3",
            "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:N/UI:N/VC:H/VI:N/VA:N/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:Y/T:P/P:M/B:A/M:M/D:T/2025-08-06T20:28:50Z/"
                }
            ],
            "url": "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-57q2-6cp4-9mq3"
        },
        {
            "reference_url": "https://jira.xwiki.org/browse/XWIKI-22810",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.7",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/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:Y/T:P/P:M/B:A/M:M/D:T/2025-08-06T20:28:50Z/"
                }
            ],
            "url": "https://jira.xwiki.org/browse/XWIKI-22810"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2025-54125",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.7",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-54125"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-57q2-6cp4-9mq3",
            "reference_id": "GHSA-57q2-6cp4-9mq3",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-57q2-6cp4-9mq3"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 359,
            "name": "Exposure of Private Personal Information to an Unauthorized Actor",
            "description": "The product does not properly prevent a person's private, personal information from being accessed by actors who either (1) are not explicitly authorized to access the information or (2) do not have the implicit consent of the person about whom the information is collected."
        },
        {
            "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": "7.0 - 8.9",
    "exploitability": "0.5",
    "weighted_severity": "8.0",
    "risk_score": 4.0,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-p59s-q94b-9kb6"
}