Security Advisory WSO2-2021-1289

Published: October 14, 2021

Version: 1.0.0

Severity: Medium

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


Please note that WSO2-2021-1349 is duplication of this advisory.


  • WSO2 API Manager : 2.6.0 , 3.0.0 , 3.1.0 , 3.2.0 , 4.0.0
  • WSO2 IS as Key Manager : 5.7.0 , 5.9.0 , 5.10.0
  • WSO2 Identity Server : 5.7.0 , 5.8.0 , 5.9.0 , 5.10.0 , 5.11.0


XML External Entity (XXE) vulnerability in the Management Console.


An XML External Entity vulnerability was identified in the file based service provider creation feature of the Management Console.


By leveraging the vulnerability, a malicious actor could read confidential files from the file system or access limited HTTP resources that are reachable (over HTTP GET requests) to the vulnerable product. The same vulnerability could be used to perform denial of service attack by exhausting server resources.


If the latest version of the affected WSO2 product is not mentioned under the affected product list, you may migrate to the latest version to receive security fixes.

Otherwise, community users may apply the relevant fixes to the product based on the public fix(s):

WSO2 Subscription holders may refer to the below table. You should update your product to the specified update level or a higher update level to apply the fix.

Product Name Product Version U2 Update Level
WSO2 API Manager 2.6.0 28
WSO2 API Manager 3.0.0 21
WSO2 API Manager 3.1.0 28
WSO2 API Manager 3.2.0 30
WSO2 API Manager 4.0.0 16
WSO2 IS as Key Manager 5.7.0 22
WSO2 IS as Key Manager 5.9.0 21
WSO2 IS as Key Manager 5.10.0 34
WSO2 Identity Server 5.7.0 24
WSO2 Identity Server 5.8.0 19
WSO2 Identity Server 5.9.0 20
WSO2 Identity Server 5.10.0 34
WSO2 Identity Server 5.11.0 40


If you are a WSO2 customer with a support subscription, use WSO2 Updates in order to apply the fix.


WSO2 thanks, Hakan Bayır for responsibly reporting the identified issue and working with us as we addressed it.