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

Published May 5, 2025
·
Updated

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.

Other sources

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.

MITRE

Affected Software

3 affected componentsFixes available
WSO2 API Manager
maven/org.wso2.am:am-distribution-parent<2.1.0
2.1.0
WSO2 API Manager<=2.0.0

Remediation

Information

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

Event History

May 5, 2025
CVE Published
via MITRE·09:02 AM
Data Sourced
via MITRE·09:02 AM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·09:15 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:15 AM
Affected Software
Advisory Published
via GitHub·09:31 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-2905?

CVE-2025-2905 is considered a critical vulnerability due to its potential for remote code execution and data exfiltration.

2

How do I fix CVE-2025-2905?

To fix CVE-2025-2905, ensure you update to the latest version of WSO2 API Manager which includes security patches addressing this vulnerability.

3

What are the potential impacts of CVE-2025-2905?

The potential impacts of CVE-2025-2905 include unauthorized access to sensitive data, manipulation of application behavior, and exploitation of external entities.

4

Which versions of WSO2 API Manager are affected by CVE-2025-2905?

CVE-2025-2905 affects all versions of WSO2 API Manager prior to the security patch release.

5

Can I mitigate CVE-2025-2905 without applying an update?

While it is recommended to apply an update, you may mitigate CVE-2025-2905 by implementing stricter XML input validation and disabling external entity processing.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203