Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.wso2.am/am-distribution-parent
  4. ›
  5. CVE-2025-2905

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

May 5, 2025

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

  • github.com/advisories/GHSA-h94w-8qhg-3xmc
  • github.com/wso2/product-apim
  • nvd.nist.gov/vuln/detail/CVE-2025-2905
  • security.docs.wso2.com/en/latest/security-announcements/security-advisories/2025/WSO2-2025-3993

Code Behaviors & Features

Detect and mitigate CVE-2025-2905 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.1.0

Fixed versions

  • 2.1.0

Solution

Upgrade to version 2.1.0 or above.

Impact 9.1 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-611: Improper Restriction of XML External Entity Reference

Source file

maven/org.wso2.am/am-distribution-parent/CVE-2025-2905.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:00 +0000.