{"answers":{"affected":"6 open source packages ship an affected version, including io.qameta.allure.plugins:junit-xml-plugin, io.qameta.allure.plugins:trx-plugin and io.qameta.allure.plugins:xunit-xml-plugin.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-52888 exists.","fix":"Upgrade io.qameta.allure.plugins:junit-xml-plugin to 2.34.1 or later.","what":"CVE-2025-52888 is a high-severity vulnerability in allure-framework allure2, published on 24 Jun 2025."},"fix_prompt":"Check this codebase for CVE-2025-52888 and fix it if it is affected.\n\nWhat it is: CVE-2025-52888 is a high-severity vulnerability in allure-framework allure2, published on 24 Jun 2025. \nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-52888 exists.\n\nAffected packages and fixed versions:\n- io.qameta.allure.plugins:junit-xml-plugin (Maven): affected all versions; fixed in 2.34.1\n- io.qameta.allure.plugins:junit-xml-plugin (Maven): affected all versions; fixed in 2.34.1\n- io.qameta.allure.plugins:trx-plugin (Maven): affected all versions; fixed in 2.34.1\n- io.qameta.allure.plugins:trx-plugin (Maven): affected all versions; fixed in 2.34.1\n- io.qameta.allure.plugins:xunit-xml-plugin (Maven): affected all versions; fixed in 2.34.1\n- io.qameta.allure.plugins:xunit-xml-plugin (Maven): affected all versions; fixed in 2.34.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-52888/ (Markdown: https://insights.sbomify.com/CVE-2025-52888/index.md)","id":"CVE-2025-52888","markdown":"https://insights.sbomify.com/CVE-2025-52888/index.md","name":"CVE-2025-52888","record":{"aliases":["GHSA-h7qf-qmf3-85qg"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference"}],"description":"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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Allure 2's xunit-xml-plugin Vulnerable to Improper XXE Restriction","id":"CVE-2025-52888","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":null,"year":"2025"},"n_packages":6,"n_references":2,"next":{"headline":"Incus vulnerable to DoS through antispoofing nftables firewall rule bypass on bridge networks with ACLs","id":"CVE-2025-52889"},"packages":[{"ecosystem":"Maven","fixed":["2.34.1"],"introduced":["0"],"last_affected":[],"package":"io.qameta.allure.plugins:junit-xml-plugin","purl":null,"source":"GHSA-h7qf-qmf3-85qg"},{"ecosystem":"Maven","fixed":["2.34.1"],"introduced":["0"],"last_affected":[],"package":"io.qameta.allure.plugins:junit-xml-plugin","purl":"pkg:maven/io.qameta.allure.plugins/junit-xml-plugin","source":"GHSA-h7qf-qmf3-85qg"},{"ecosystem":"Maven","fixed":["2.34.1"],"introduced":["0"],"last_affected":[],"package":"io.qameta.allure.plugins:trx-plugin","purl":null,"source":"GHSA-h7qf-qmf3-85qg"},{"ecosystem":"Maven","fixed":["2.34.1"],"introduced":["0"],"last_affected":[],"package":"io.qameta.allure.plugins:trx-plugin","purl":"pkg:maven/io.qameta.allure.plugins/trx-plugin","source":"GHSA-h7qf-qmf3-85qg"},{"ecosystem":"Maven","fixed":["2.34.1"],"introduced":["0"],"last_affected":[],"package":"io.qameta.allure.plugins:xunit-xml-plugin","purl":null,"source":"GHSA-h7qf-qmf3-85qg"},{"ecosystem":"Maven","fixed":["2.34.1"],"introduced":["0"],"last_affected":[],"package":"io.qameta.allure.plugins:xunit-xml-plugin","purl":"pkg:maven/io.qameta.allure.plugins/xunit-xml-plugin","source":"GHSA-h7qf-qmf3-85qg"}],"prev":{"headline":"cpp-httplib has unlimited number of http header fields, which causes memory leak","id":"CVE-2025-52887"},"products":["allure2"],"published":"2025-06-24","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-06-24","vendors":["allure-framework"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2025-52888/"}