# CVE-2025-2905: An XML External Entity (XXE) vulnerability in Multiple WSO2 Products

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.1
- **CVSS:** 9.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.24% (percentile 69, 2026-11-26)
- **CWE:** CWE-611
- **Aliases:** GHSA-h94w-8qhg-3xmc
- **Published:** 2025-05-05T09:02:01.489Z
- **Modified:** 2026-06-17T09:07:49.440Z

## Who should check

- Projects that depend on Maven package org.wso2.am:am-distribution-parent (\< 2.1.0)
- Anyone running WSO2 API Manager \< 2.0.0; 2.1.0; 2.2.0; 2.5.0; 2.6.0; 3.0.0; 3.1.0; \>= 4.0.0, \< 4.0.0.311; \>= 4.1.0, \< 4.1.0.152; \>= 4.2.0, \< 4.2.0.122
- Anyone running WSO2 Enterprise Integrator 6.0.0; 6.1.0; 6.1.1; 6.2.0; 6.3.0; 6.4.0; 6.5.0; 6.6.0
- Anyone running WSO2 Enterprise Service Bus 4.9.0; 5.0.0
- Anyone running WSO2 Micro integrator 1.0.0; 1.1.0; \>= 1.2.0, \< 1.2.0.162; \>= 4.0.0, \< 4.0.0.132; \>= 4.1.0, \< 4.1.0.115; \>= 4.2.0, \< 4.2.0.112
- Anyone running WSO2 Open Banking AM 1.5.0

## 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.

## Affected and fixed versions

- Maven `org.wso2.am:am-distribution-parent`: affected \< 2.1.0; fixed 2.1.0 (osv)
- WSO2 API Manager: \< 2.0.0; 2.1.0; 2.2.0; 2.5.0; 2.6.0; 3.0.0; 3.1.0; \>= 4.0.0, \< 4.0.0.311; \>= 4.1.0, \< 4.1.0.152; \>= 4.2.0, \< 4.2.0.122 (cvelist)
- WSO2 Enterprise Integrator: 6.0.0; 6.1.0; 6.1.1; 6.2.0; 6.3.0; 6.4.0; 6.5.0; 6.6.0 (cvelist)
- WSO2 Enterprise Service Bus: 4.9.0; 5.0.0 (cvelist)
- WSO2 Micro integrator: 1.0.0; 1.1.0; \>= 1.2.0, \< 1.2.0.162; \>= 4.0.0, \< 4.0.0.132; \>= 4.1.0, \< 4.1.0.115; \>= 4.2.0, \< 4.2.0.112 (cvelist)
- WSO2 Open Banking AM: 1.5.0 (cvelist)

## Mitigation

- Upgrade org.wso2.am:am-distribution-parent to 2.1.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-2905. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-2905.md
Affected: org.wso2.am:am-distribution-parent < 2.1.0
Fixed in: 2.1.0

Steps:
1. Search this machine and project for org.wso2.am:am-distribution-parent (Maven), WSO2 API Manager, WSO2 Enterprise Integrator, WSO2 Enterprise Service Bus, WSO2 Micro integrator, WSO2 Open Banking AM: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-2905 being exploited?

There is no confirmed exploitation: CVE-2025-2905 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.24% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-2905?

Critical: CVSS 9.1 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-2905?

org.wso2.am:am-distribution-parent \< 2.1.0.

### Is there a fix for CVE-2025-2905?

Yes. Fixed in 2.1.0. Upgrade org.wso2.am:am-distribution-parent to 2.1.0 or later.

### How do I check if I'm affected by CVE-2025-2905?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2025/WSO2-2025-3993/>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-2905>
- other: <https://github.com/wso2/product-apim>
- other: <https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2025/WSO2-2025-3993>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-2905>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-h94w-8qhg-3xmc> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-2905> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-2905>
