GitHub Advisoryadvisory · Maven
GHSA-h94w-8qhg-3xmc WSO2 API Manager XML External Entity (XXE) vulnerability
CRITICAL
Official page ↗
- Aliases
- CVE-2025-2905
- Ecosystem
- Maven
- Packages
- org.wso2.am:am-distribution-parent
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- Weaknesses
- CWE-611
- Reviewed
- 2025-05-05
Affected packages
• Maven org.wso2.am:am-distribution-parent: < 2.1.0 → fixed in 2.1.0
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.
Related
Alias · CVE (1)
- CVE-2025-2905 Due to the improper configuration of XML parser, user-supplied XML is parsed without applying sufficient restrictions, enabling XML… vulnerability
Weakness · CWE (1)
- CWE-611 Improper Restriction of XML External Entity Reference weakness