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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| allure-framework | allure2 | < 2.34.1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | io.qameta.allure.plugins:junit-xml-plugin | < 2.34.1 | 2.34.1 | GHSA-h7qf-qmf3-85qg |
| Maven | io.qameta.allure.plugins:trx-plugin | < 2.34.1 | 2.34.1 | GHSA-h7qf-qmf3-85qg |
| Maven | io.qameta.allure.plugins:xunit-xml-plugin | < 2.34.1 | 2.34.1 | GHSA-h7qf-qmf3-85qg |