CVE-2025-2905

An XML External Entity (XXE) vulnerability in Multiple WSO2 Products

Published May 5, 2025 CVSS 3.1 · 9.1 Critical EPSS 1.3% KEV · Not listed
Description
Due to the improper configuration of XML parser, user-supplied XML is parsed without applying sufficient restrictions, enabling XML External Entity (XXE) resolution in multiple WSO2 Products.

A successful XXE attack could allow a remote, unauthenticated attacker to:
* Read sensitive files from the server’s filesystem.
* Perform denial-of-service (DoS) attacks, which can render the affected service unavailable.

Remediation

Vendor Solution

Follow the instructions given on  https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2025/WSO2-2025-3... https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2025/WSO2-2025-3993/#solution

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-13367 WSO2 API Manager XML External Entity (XXE) vulnerability
Github GHSA Github GHSA GHSA-h94w-8qhg-3xmc WSO2 API Manager XML External Entity (XXE) vulnerability
History
Type Values Removed Values Added
Description An XML External Entity (XXE) vulnerability exists in the gateway component of WSO2 API Manager due to insufficient validation of XML input in crafted URL paths. User-supplied XML is parsed without appropriate restrictions, enabling external entity resolution. This vulnerability can be exploited by an unauthenticated remote attacker to read files from the server’s filesystem or perform denial-of-service (DoS) attacks. * On systems running JDK 7 or early JDK 8, full file contents may be exposed. * On later versions of JDK 8 and newer, only the first line of a file may be read, due to improvements in XML parser behavior. * DoS attacks such as "Billion Laughs" payloads can cause service disruption. Due to the improper configuration of XML parser, user-supplied XML is parsed without applying sufficient restrictions, enabling XML External Entity (XXE) resolution in multiple WSO2 Products. A successful XXE attack could allow a remote, unauthenticated attacker to: * Read sensitive files from the server’s filesystem. * Perform denial-of-service (DoS) attacks, which can render the affected service unavailable.
Title Unauthenticated XML External Entity (XXE) Vulnerability in WSO2 API Manager Gateway Component An XML External Entity (XXE) vulnerability in Multiple WSO2 Products
Type Values Removed Values Added
CPEs cpe:2.3:a:wso2:api_manager:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics epss

{'score': 0.00082}

epss

{'score': 0.00086}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description An XML External Entity (XXE) vulnerability exists in the gateway component of WSO2 API Manager due to insufficient validation of XML input in crafted URL paths. User-supplied XML is parsed without appropriate restrictions, enabling external entity resolution. This vulnerability can be exploited by an unauthenticated remote attacker to read files from the server’s filesystem or perform denial-of-service (DoS) attacks. * On systems running JDK 7 or early JDK 8, full file contents may be exposed. * On later versions of JDK 8 and newer, only the first line of a file may be read, due to improvements in XML parser behavior. * DoS attacks such as "Billion Laughs" payloads can cause service disruption.
Title Unauthenticated XML External Entity (XXE) Vulnerability in WSO2 API Manager Gateway Component
Weaknesses CWE-611
References
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
WSO2
Published
Updated
Oct 16, 2025, 11:39 AM
Reserved
Mar 28, 2025, 8:46 AM
Status
Modified
Published
May 5, 2025, 9:15 AM
Modified
Jun 17, 2026, 9:07 AM