WSO2 API Manager XML External Entity (XXE) vulnerability
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.wso2.am:am-distribution-parent | < 2.1.0 | 2.1.0 |
References
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H- Weakness (CWE)
CWE-611- Platform
- Java / Kotlin (Maven)
- Package
org.wso2.am:am-distribution-parent- Disclosed
- 05.05.2025
- Updated
- 11.10.2026 12:21
Sources and licenses
OSV / GitHub Advisory Database - GHSA-h94w-8qhg-3xmc - CC BY 4.0
Vulnerability history: org.wso2.am:am-distribution-parent
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.