Vulnerability · Published Jun 24, 2025 · Assigned by GitHub_M
CVE-2025-52888Allure 2's xunit-xml-plugin Vulnerable to Improper XXE Restriction
High 7.5
In plain English
A high-severity XML external entity in allure2 from allure-framework. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 31% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | io.qameta.allure.plugins:junit-xml-plugin | 2.34.1 | GHSA-h7qf-qmf3-85qg |
| Maven | io.qameta.allure.plugins:trx-plugin | 2.34.1 | GHSA-h7qf-qmf3-85qg |
| Maven | io.qameta.allure.plugins:xunit-xml-plugin | 2.34.1 | GHSA-h7qf-qmf3-85qg |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| allure-framework | allure2 | < 2.34.1 |
Weakness: CWE-611 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N