Skip to main content

Java EUVDEUVD-2025-19057

| CVE-2025-52888 HIGH
Improper Restriction of XML External Entity Reference (CWE-611)
2025-06-24 security-advisories@github.com GHSA-h7qf-qmf3-85qg
7.5
CVSS 3.1 · GitHub Advisory
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A02:2025 - Security Misconfiguration
ASVS 5.0
V13 - Configuration XML external entity prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

The CVSS 3.1 score of 7.5 (High) reflects a network-based attack with low complexity and no privilege/user interaction requirements, yielding high confidentiality impact but no integrity or availability impact. The attack vector (AV:N), low complexity (AC:L), and no authentication (PR:N) make this readily exploitable by remote unauthenticated attackers. However, real-world risk depends on deployment context: (1) If Allure is deployed in environments where untrusted users can upload or submit test XML files (CI/CD pipelines, shared testing platforms), the risk is critical; (2) If Allure processes only internally-generated test results, the attack surface is reduced but insider threats remain; (3) The lack of integrity impact (I:N) limits damage to information disclosure, but exfiltration of credentials, API keys, or source code from the server filesystem can have cascading consequences. The confidentiality impact rating of 'High' (C:H) justifies urgent patching. Without EPSS score or KEV status data provided, prioritization should be based on deployment sensitivity and data classification of servers running Allure 2.x.

Exploit ScenarioDerived

An attacker with access to a CI/CD pipeline (e.g., a malicious developer, compromised build agent, or exposed upload endpoint) crafts a malicious JUnit XML test result file containing an XXE payload. Example: <?xml version="1.0"?><!DOCTYPE foo [<!ENTITY xxe SYSTEM "file:///etc/passwd">]><testsuites><testsuite name="exploit"><testcase name="test"><failure>&xxe;</failure></testcase></testsuite></testsuites>. The attacker submits this XML to Allure Report (version < 2.34.1), either directly via upload, CI/CD test result submission, or indirectly by injecting it into a pipeline artifact. When Allure's xunit-xml-plugin parses the file, the DocumentBuilderFactory resolves the external entity and expands it, causing /etc/passwd (or other files) to be read and potentially leaked in error logs, reports, or response messages. The attacker thus gains read access to sensitive files (credentials, configuration, source code) and can pivot to SSRF by using URLs instead of file:// paths to interact with internal services (localhost services, cloud metadata endpoints like AWS EC2 metadata service, internal APIs). No user interaction or special privileges are required—the attack is fully automated and occurs during routine test result processing.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 15, 2026

Allure 2 versions prior to 2.34.1 contain a critical XML External Entity (XXE) injection vulnerability in the xunit-xml-plugin that allows unauthenticated remote attackers to read arbitrary files from the server's filesystem and potentially trigger SSRF attacks. The vulnerability stems from insecure XML parser configuration in the DocumentBuilderFactory and is exploitable by uploading or providing malicious test result XML files without any authentication or user interaction required.

RemediationAI

Update dependency/installation: allure-report >= 2.34.1 Workaround (Temporary): Implement pre-processing validation: scan incoming XML for <!DOCTYPE and <!ENTITY patterns; reject or sanitize Defense in Depth: Network isolation, IAM hardening, file access auditing Vendor Advisory: Review: https://github.com/allure-framework/allure2 or vendor security advisory documentation

Affected VersionsENISA

allure2 < 2.34.1

Affected Packages

maven io.qameta.allure.plugins:junit-xml-plugin fix: 2.34.1
maven io.qameta.allure.plugins:trx-plugin fix: 2.34.1
maven io.qameta.allure.plugins:xunit-xml-plugin fix: 2.34.1
euvd allure2 fix: 2.34.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 4 packages in maven, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability exists in the xunit-xml-plugin component used by Allure Report 2.x for parsing JUnit/XUnit test result XML files. The root cause is CWE-611 (Improper Restriction of XML External Entity Reference), which occurs when the XML parser (DocumentBuilderFactory) is not configured to disable external entity expansion and DTD processing. Attackers can craft malicious XML files containing DOCTYPE declarations with external entity definitions pointing to local files (file:// protocol) or remote servers, causing the parser to resolve these entities and leak their contents. This affects the CPE scope: cpe:2.3:a:qameta:allure:2.0:*:*:*:*:*:*:* through cpe:2.3:a:qameta:allure:2.34.0:*:*:*:*:*:*:*, with remediation available in version 2.34.1 and later.

Know when Java gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

GitHub Advisory PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

2
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
CVE Published
Jun 24, 2025 - 20:15 nvd
HIGH 7.5

DescriptionGitHub Advisory

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.

Executive ViewAI

Why It Matters

Allure 2 versions prior to 2.34.1 contain an XML parsing vulnerability that could allow attackers to read sensitive files from affected systems and potentially access internal network resources. Organizations using Allure for test reporting should assess their exposure immediately, as exploitation requires only the ability to submit malicious test result files to the reporting system.

Business Impact: High
Compensating Controls

Until patching is possible: Restrict XML file uploads to Allure to authenticated internal users only; implement strict input validation and file size limits on test result submissions; disable external network access from Allure servers; monitor and log all XML file processing; consider temporarily disabling xunit-xml plugin if not critical to operations; implement WAF rules to block XXE patterns in POST requests to Allure endpoints.

Threat Intelligence Overview

EPSS Score
0.1%
Top 85% exploitable
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

XML External Entity (XXE) attacks exploit XML parsers that process Document Type Definitions (DTDs) without proper restrictions.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Java

View all
CVE-2012-4681 CRITICAL POC
9.8 Aug 28

Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m

CVE-2015-7450 CRITICAL POC
9.8 Jan 02

Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti

CVE-2013-2465 CRITICAL POC
9.8 Jun 18

Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent

CVE-2011-3544 CRITICAL POC
9.8 Oct 19

Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug

CVE-2010-1871 HIGH POC
8.8 Aug 05

JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to

CVE-2012-1723 CRITICAL POC
9.8 Jun 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up

CVE-2013-0422 CRITICAL POC
9.8 Jan 10

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2015-4852 CRITICAL POC
9.8 Nov 18

The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers

CVE-2012-5076 CRITICAL POC
9.8 Oct 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow

CVE-2017-3066 CRITICAL POC
9.8 Apr 27

Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla

CVE-2012-0391 CRITICAL POC
9.8 Jan 08

The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy