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.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.4%top 69.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Mavenio.qameta.allure.plugins:junit-xml-plugin2.34.1GHSA-h7qf-qmf3-85qg
Mavenio.qameta.allure.plugins:trx-plugin2.34.1GHSA-h7qf-qmf3-85qg
Mavenio.qameta.allure.plugins:xunit-xml-plugin2.34.1GHSA-h7qf-qmf3-85qg

Affected products (as reported)

VendorProductVersions
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

References