CVE-2021-42646
WSO2 API Manager vulnerability analysis and mitigation

Overview

XML External Entity (XXE) vulnerability was discovered in the file based service provider creation feature of the Management Console in WSO2 API Manager (versions 2.6.0, 3.0.0, 3.1.0, 3.2.0, and 4.0.0), WSO2 IS as Key Manager (versions 5.7.0, 5.9.0, and 5.10.0), and WSO2 Identity Server (versions 5.7.0, 5.8.0, 5.9.0, 5.10.0, and 5.11.0). The vulnerability was discovered on February 14, 2021, and was publicly disclosed on May 11, 2022 (WSO2 Advisory).

Technical details

The vulnerability is identified as CVE-2021-42646 with a CVSS v3.1 score of 9.1 CRITICAL. The issue allows attackers to gain read access to sensitive information or cause a denial of service via crafted GET requests through the Management Console's file-based service provider creation feature (NVD).

Impact

The vulnerability enables malicious actors to read confidential files from the file system or access limited HTTP resources that are reachable over HTTP GET requests to the vulnerable product. Additionally, the vulnerability could be exploited to perform denial of service attacks by exhausting server resources (WSO2 Advisory).

Mitigation and workarounds

Users are advised to upgrade to the latest version of the affected WSO2 products if their version is listed as vulnerable. For community users, the fix is available through a public patch on GitHub. WSO2 Subscription holders should update their products to specific update levels detailed in the advisory. The fix involves creating a secure parser for unmarshalling Service Provider File Content (GitHub PR, WSO2 Advisory).

Additional resources


SourceThis report was generated using AI

Related WSO2 API Manager vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-9312CRITICAL9.8
  • WSO2 API ManagerWSO2 API Manager
  • cpe:2.3:a:wso2:api_manager
NoYesNov 18, 2025
CVE-2025-10853MEDIUM6.1
  • WSO2 API ManagerWSO2 API Manager
  • cpe:2.3:a:wso2:api_manager
NoNoNov 05, 2025
CVE-2025-5770MEDIUM6.1
  • WSO2 API ManagerWSO2 API Manager
  • cpe:2.3:a:wso2:api_manager
NoNoNov 05, 2025
CVE-2025-5605MEDIUM5.3
  • WSO2 API ManagerWSO2 API Manager
  • cpe:2.3:a:wso2:enterprise_integrator
NoNoOct 24, 2025
CVE-2025-5350MEDIUM4.8
  • WSO2 API ManagerWSO2 API Manager
  • cpe:2.3:a:wso2:api_manager
NoYesOct 24, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management