NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Maven

CVE-2025-2905: WSO2 API Manager XML External Entity (XXE) vulnerability

criticalCVSS 3.1 9.1GHSA-h94w-8qhg-3xmc

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.

Published May 5, 2025

Affected packages

org.wso2.am:am-distribution-parent

Ecosystem
Maven
Affected
< 2.1.0
Fixed in
2.1.0
Check
mvn dependency:tree -Dincludes=org.wso2.am:am-distribution-parent

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology