CVE-2025-52888

Source
https://cve.org/CVERecord?id=CVE-2025-52888
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-52888.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-52888
Aliases
Published
2025-06-24T19:45:22.854Z
Modified
2026-08-12T14:52:45.595976Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
Allure 2's xunit-xml-plugin Vulnerable to Improper XXE Restriction
Details

Allure 2 is the version 2.x branch of Allure Report, a multi-language test reporting tool. A critical XML External Entity (XXE) vulnerability exists in the xunit-xml-plugin used by Allure 2 prior to version 2.34.1. The plugin fails to securely configure the XML parser (DocumentBuilderFactory) and allows external entity expansion when processing test result .xml files. This allows attackers to read arbitrary files from the file system and potentially trigger server-side request forgery (SSRF). Version 2.34.1 contains a patch for the issue.

Database specific
{
    "cwe_ids": [
        "CWE-611"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/52xxx/CVE-2025-52888.json",
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/allure-framework/allure2

Affected ranges

Type
GIT
Repo
https://github.com/allure-framework/allure2
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "2.34.1"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ]
}

Affected versions

2.*
2.0-BETA1
2.0-BETA3
2.0-BETA4
2.0-BETA5
2.0-BETA6
2.0-BETA7
2.0-BETA8
2.0-M1
2.0.0
2.0.1
2.1.0
2.1.1
2.10.0
2.11.0
2.12.0
2.12.1
2.13.0
2.13.1
2.13.10
2.13.2
2.13.3
2.13.4
2.13.5
2.13.6
2.13.7
2.13.8
2.13.9
2.14.0
2.15.0
2.16.0
2.16.1
2.17.0
2.17.1
2.17.2
2.17.3
2.18.0
2.18.1
2.19.0
2.2.0
2.2.1
2.20.0
2.20.1
2.21.0
2.22.0
2.22.1
2.22.2
2.22.3
2.22.4
2.23.0
2.23.1
2.24.0
2.24.1
2.25.0
2.26.0
2.27.0
2.28.0
2.29.0
2.3
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.30.0
2.31.0
2.32.0
2.32.1
2.32.2
2.33.0
2.34.0
2.4.0
2.4.1
2.5.0
2.6.0
2.7.0
2.8.0
2.8.1
2.9.0

Database specific

vanir_signatures_modified
"2026-08-12T14:52:45Z"
vanir_signatures
[
    {
        "id": "CVE-2025-52888-4f59ef9a",
        "deprecated": false,
        "signature_type": "Function",
        "signature_version": "v1",
        "digest": {
            "length": 779.0,
            "function_hash": "306665084698275754271298403960736752"
        },
        "source": "https://github.com/allure-framework/allure2/commit/cbcb33719851ff70adce85d38e15d20fc58d4eb7",
        "target": {
            "function": "parseAssemblies",
            "file": "plugins/xunit-xml-plugin/src/main/java/io/qameta/allure/xunitxml/XunitXmlPlugin.java"
        }
    },
    {
        "id": "CVE-2025-52888-57a5f30a",
        "deprecated": false,
        "signature_type": "Function",
        "signature_version": "v1",
        "digest": {
            "length": 1094.0,
            "function_hash": "135178666668278725455898737782359572285"
        },
        "source": "https://github.com/allure-framework/allure2/commit/cbcb33719851ff70adce85d38e15d20fc58d4eb7",
        "target": {
            "function": "parseTestRun",
            "file": "plugins/trx-plugin/src/main/java/io/qameta/allure/trx/TrxPlugin.java"
        }
    },
    {
        "id": "CVE-2025-52888-58d24958",
        "deprecated": false,
        "signature_type": "Function",
        "signature_version": "v1",
        "digest": {
            "length": 906.0,
            "function_hash": "288783633896869246628333597682259730367"
        },
        "source": "https://github.com/allure-framework/allure2/commit/cbcb33719851ff70adce85d38e15d20fc58d4eb7",
        "target": {
            "function": "parseRootElement",
            "file": "plugins/junit-xml-plugin/src/main/java/io/qameta/allure/junitxml/JunitXmlPlugin.java"
        }
    },
    {
        "id": "CVE-2025-52888-9b7ef658",
        "deprecated": false,
        "signature_type": "Line",
        "signature_version": "v1",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "78953468569187824650508940978650176443",
                "31893405341176612071604524046748295539",
                "44233781341740472992052807052115089080",
                "300819377773353154026585649336989760870",
                "18247116733533141350465639812546595413",
                "190961620966404338085813685207632523670",
                "68595444524908570544823433301425457522"
            ]
        },
        "source": "https://github.com/allure-framework/allure2/commit/cbcb33719851ff70adce85d38e15d20fc58d4eb7",
        "target": {
            "file": "plugins/xunit-xml-plugin/src/test/java/io/qameta/allure/xunitxml/XunitXmlPluginTest.java"
        }
    },
    {
        "id": "CVE-2025-52888-c0eb6d6d",
        "deprecated": false,
        "signature_type": "Line",
        "signature_version": "v1",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "108548270329693738507732256510016910008",
                "65342309348964602261025500003250676951",
                "298269491609109213026457298833151070560",
                "229186480762164346539889870814340914707",
                "175298230739719670414493397583520056490",
                "170491529493559550574124490243962131880",
                "316830192656806682707914104474119297789",
                "158453309515139208116228058083280631313",
                "90495878586744633530429699212958041714"
            ]
        },
        "source": "https://github.com/allure-framework/allure2/commit/cbcb33719851ff70adce85d38e15d20fc58d4eb7",
        "target": {
            "file": "plugins/xunit-xml-plugin/src/main/java/io/qameta/allure/xunitxml/XunitXmlPlugin.java"
        }
    },
    {
        "id": "CVE-2025-52888-c10f60e8",
        "deprecated": false,
        "signature_type": "Line",
        "signature_version": "v1",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "152369890500082540271692024414509930270",
                "31893405341176612071604524046748295539",
                "44233781341740472992052807052115089080",
                "95048189597402216665807296915347204124",
                "200589084144950886636121518545136936118",
                "190961620966404338085813685207632523670",
                "68595444524908570544823433301425457522"
            ]
        },
        "source": "https://github.com/allure-framework/allure2/commit/cbcb33719851ff70adce85d38e15d20fc58d4eb7",
        "target": {
            "file": "plugins/trx-plugin/src/test/java/io/qameta/allure/trx/TrxPluginTest.java"
        }
    },
    {
        "id": "CVE-2025-52888-c776111a",
        "deprecated": false,
        "signature_type": "Line",
        "signature_version": "v1",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "60883449274262812147819999078535316930",
                "259517375042708458694274973390558176743",
                "298269491609109213026457298833151070560",
                "229186480762164346539889870814340914707",
                "287904999812038710971384073217418328935",
                "170491529493559550574124490243962131880",
                "316830192656806682707914104474119297789",
                "114140111651525463483440149537352012727",
                "69190866908452466256138112409673798410"
            ]
        },
        "source": "https://github.com/allure-framework/allure2/commit/cbcb33719851ff70adce85d38e15d20fc58d4eb7",
        "target": {
            "file": "plugins/trx-plugin/src/main/java/io/qameta/allure/trx/TrxPlugin.java"
        }
    },
    {
        "id": "CVE-2025-52888-ea5698a5",
        "deprecated": false,
        "signature_type": "Line",
        "signature_version": "v1",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "152369890500082540271692024414509930270",
                "31893405341176612071604524046748295539",
                "44233781341740472992052807052115089080",
                "194620141687167632251569088773621266696",
                "236696450177024117549480664242775649340",
                "190961620966404338085813685207632523670",
                "68595444524908570544823433301425457522"
            ]
        },
        "source": "https://github.com/allure-framework/allure2/commit/cbcb33719851ff70adce85d38e15d20fc58d4eb7",
        "target": {
            "file": "plugins/junit-xml-plugin/src/test/java/io/qameta/allure/junitxml/JunitXmlPluginTest.java"
        }
    },
    {
        "id": "CVE-2025-52888-f727fa2a",
        "deprecated": false,
        "signature_type": "Line",
        "signature_version": "v1",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "60883449274262812147819999078535316930",
                "259517375042708458694274973390558176743",
                "298269491609109213026457298833151070560",
                "229186480762164346539889870814340914707",
                "118017098188901950235985325840704764400",
                "170491529493559550574124490243962131880",
                "234464912410947369507731668025848806556",
                "39582423950373182321421072811866270905",
                "214245995026705387851702924208301195536"
            ]
        },
        "source": "https://github.com/allure-framework/allure2/commit/cbcb33719851ff70adce85d38e15d20fc58d4eb7",
        "target": {
            "file": "plugins/junit-xml-plugin/src/main/java/io/qameta/allure/junitxml/JunitXmlPlugin.java"
        }
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-52888.json"