CVE-2025-2905

Unauthenticated XML External Entity (XXE) Vulnerability in WSO2 API Manager Gateway Component

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.

Remediation

Solution:

  • 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

Category

9.1
CVSS
Severity: Critical
CVSS 3.1 •
EPSS 0.08%
Vendor Advisory wso2.com
Affected: WSO2 WSO2 API Manager
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2025-2905?
CVE-2025-2905 has been scored as a critical severity vulnerability.
How to fix CVE-2025-2905?
To fix CVE-2025-2905: 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
Is CVE-2025-2905 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2025-2905 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2025-2905?
CVE-2025-2905 affects WSO2 WSO2 API Manager.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.