CVE-2025-52888
Allure 2's xunit-xml-plugin Vulnerable to Improper XXE Restriction
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
7.5
Allure 2's xunit-xml-plugin Vulnerable to Improper XXE Restriction
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.
- Record
CVE-2025-52888- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-611
- Updated
- 2026-11-02
EUVDEUVD-2025-19057
7.5
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.
- Record
EUVD-2025-19057- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-h7qf-qmf3-85qg
7.5
Allure Report allows Improper XXE Restriction via DocumentBuilderFactory
Summary
A critical XML External Entity (XXE) vulnerability exists in the xunit-xml-plugin used by Allure 2. 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).
Details
In \allure2-main\plugins\xunit-xml-plugin\src\main\java\io\qameta\allure\xunitxml\XunitXmlPlugin.java the application uses DocumentBuilderFactory without disabling DTDs or external entities. By generating a report with a malicious xml file within it, an attacker can perform XXE to leverage SSRF, or to read system files.
PoC
To recreate this vulnerability, you need to install allure for command-line (In my POC I used a Windows 11 Machine).
- Create a folder called
allure, and within it, create a malicious XML file. I will attach my SSRF and file reading payloads, however, for the rest of the POC, I will focus on reading system files for better screenshots. ##SSRF (replace webhook link with your own)
##Reading System Files
- Put the malicious .xml file into the
alluredirectory created previously - Run the following command to run the report
allure generate C:\path\to\directory\allure -o report --clean - To view and confirm the executed payload, run
allure open report - When the report opens, confirm the payload executedby going to
Categories > Product defects > <payload response>
Impact
The explained XXE vulnerability can lead to Arbitrary File Disclosure and Server-Side Request Forgery. This exploitation can also be carried out silently, meaning it can be carried out without user interaction if the tool is automated within an application, and can go undetected with a carefully crafted payload. This could allow a malicious actor to view other source codes which may contain API or product keys, internal application URLs, or other secret items. This makes it an especially high risk when ran within a CI/CD platform.
- Record
GHSA-h7qf-qmf3-85qg- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-611
- Updated
- 2026-11-02
NVD
7.5
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.
- Record
CVE-2025-52888- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-611
- Updated
- 2026-11-02
OSV
7.5
Allure 2's xunit-xml-plugin Vulnerable to Improper XXE Restriction
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.
- Record
CVE-2025-52888- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-611
- Updated
- 2026-11-02
OSVGHSA-h7qf-qmf3-85qg
7.5
Allure Report allows Improper XXE Restriction via DocumentBuilderFactory
Summary
A critical XML External Entity (XXE) vulnerability exists in the xunit-xml-plugin used by Allure 2. 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).
Details
In \allure2-main\plugins\xunit-xml-plugin\src\main\java\io\qameta\allure\xunitxml\XunitXmlPlugin.java the application uses DocumentBuilderFactory without disabling DTDs or external entities. By generating a report with a malicious xml file within it, an attacker can perform XXE to leverage SSRF, or to read system files.
PoC
To recreate this vulnerability, you need to install allure for command-line (In my POC I used a Windows 11 Machine).
- Create a folder called
allure, and within it, create a malicious XML file. I will attach my SSRF and file reading payloads, however, for the rest of the POC, I will focus on reading system files for better screenshots. ##SSRF (replace webhook link with your own)
##Reading System Files
- Put the malicious .xml file into the
alluredirectory created previously - Run the following command to run the report
allure generate C:\path\to\directory\allure -o report --clean - To view and confirm the executed payload, run
allure open report - When the report opens, confirm the payload executedby going to
Categories > Product defects > <payload response>
Impact
The explained XXE vulnerability can lead to Arbitrary File Disclosure and Server-Side Request Forgery. This exploitation can also be carried out silently, meaning it can be carried out without user interaction if the tool is automated within an application, and can go undetected with a carefully crafted payload. This could allow a malicious actor to view other source codes which may contain API or product keys, internal application URLs, or other secret items. This makes it an especially high risk when ran within a CI/CD platform.
- Record
GHSA-h7qf-qmf3-85qg- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-611
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
io.qameta.allure.plugins:xunit-xml-pluginMaven |
through 2.34.0 | 2.34.1 |
io.qameta.allure.plugins:junit-xml-pluginMaven |
through 2.34.0 | 2.34.1 |
io.qameta.allure.plugins:trx-pluginMaven |
through 2.34.0 | 2.34.1 |
io.qameta.allure.plugins:xunit-xml-pluginMaven |
before 2.34.1, plus listed versions 2.10.02.11.02.12.02.12.12.13.0 Show 45 moreShow less2.13.12.13.102.13.22.13.32.13.42.13.52.13.62.13.72.13.82.13.92.14.02.15.02.16.02.16.12.17.02.17.12.17.22.17.32.18.02.18.12.19.02.20.02.20.12.21.02.22.02.22.12.22.22.22.32.22.42.23.02.23.12.24.02.24.12.25.02.26.02.27.02.28.02.29.02.30.02.31.02.32.02.32.22.33.02.34.02.8.0 |
2.34.1 |
io.qameta.allure.plugins:junit-xml-pluginMaven |
before 2.34.1, plus listed versions 2.10.02.11.02.12.02.12.12.13.0 Show 45 moreShow less2.13.12.13.102.13.22.13.32.13.42.13.52.13.62.13.72.13.82.13.92.14.02.15.02.16.02.16.12.17.02.17.12.17.22.17.32.18.02.18.12.19.02.20.02.20.12.21.02.22.02.22.12.22.22.22.32.22.42.23.02.23.12.24.02.24.12.25.02.26.02.27.02.28.02.29.02.30.02.31.02.32.02.32.22.33.02.34.02.8.0 |
2.34.1 |
io.qameta.allure.plugins:trx-pluginMaven |
before 2.34.1, plus listed versions 2.10.02.11.02.12.02.12.12.13.0 Show 45 moreShow less2.13.12.13.102.13.22.13.32.13.42.13.52.13.62.13.72.13.82.13.92.14.02.15.02.16.02.16.12.17.02.17.12.17.22.17.32.18.02.18.12.19.02.20.02.20.12.21.02.22.02.22.12.22.22.22.32.22.42.23.02.23.12.24.02.24.12.25.02.26.02.27.02.28.02.29.02.30.02.31.02.32.02.32.22.33.02.34.02.8.0 |
2.34.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-52888 is a high vulnerability (CVSS 7.5) in Allure-framework Allure2, published June 24, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.37%, the 31st percentile. Fixed in io.qameta.allure.plugins:xunit-xml-plugin 2.34.1.
References
github.com/allure-framework/allure2/security/advisories/GHSA-h7qf-qmf3-85qg
github.com/allure-framework/allure2/commit/cbcb33719851ff70adce85d38e15d20fc58d4eb7
nvd.nist.gov/vuln/detail/CVE-2025-52888
github.com/advisories/GHSA-h7qf-qmf3-85qg
github.com/CVEProject/cvelistV5/tree/main/cves/2025/52xxx/CVE-2025-52888.json
github.com/allure-framework/allure2
Left out here: 6 versions. The JSON record has them.