SecurityContext

CVE-2021-42646: WSO2 - XML External Entity Injection

  • Cve: CVE-2021-42646
  • Name: WSO2 - XML External Entity Injection
  • Description: XML External Entity (XXE) vulnerability in the file based service provider creation feature of the Management Console in WSO2 API Manager 2.6.0, 3.0.0, 3.1.0, 3.2.0, and 4.0.0; and WSO2 IS as Key Manager 5.7.0, 5.9.0, and 5.10.0; and WSO2 Identity Server 5.7.0, 5.8.0, 5.9.0, 5.10.0, and 5.11.0. Allows attackers to gain read access to sensitive information or cause a denial of service via crafted GET requests.
  • Impact: Attackers can access sensitive data or cause denial of service by exploiting the XXE vulnerability.
  • Remediation: Update to the latest versions of WSO2 API Manager, WSO2 IS, and WSO2 Identity Server where the vulnerability is fixed.
  • Vulnerability type: xml_external_entity_injection
  • Vulnerability impact: information_disclosure, denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
  • Epss score: 0.03758
  • Epss percentile: 0.90082
  • Assignee: [email protected]
  • Published at: 2022-05-11T18:15:23Z
  • Age in days: 1658
  • Modified at: 2026-06-17T04:09:54Z
  • Patch available: yes
  • References total: 4
  • Products total: 3
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-42646
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-611Improper Restriction of XML External Entity Reference

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/wso2/carbon-identity-framework/pull/3472Patch, Third Party Advisory
http://packetstormsecurity.com/files/167465/WSO2-Management-Console-XML-Injection.htmlThird Party Advisory, VDB Entry
http://seclists.org/fulldisclosure/2022/Jun/7Mailing List, Third Party Advisory
https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2021/WSO2-2021-1289/

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
wso2:api_manager= 4.0.0, = 3.2.0, = 3.1.0, = 3.0.0, = 2.6.0/v1/products/wso2/api_manager
wso2:identity_server= 5.11.0, = 5.10.0, = 5.9.0, = 5.8.0, = 5.7.0/v1/products/wso2/identity_server
wso2:identity_server_as_key_manager= 5.10.0, = 5.9.0, = 5.7.0/v1/products/wso2/identity_server_as_key_manager

Projects

RepositoryLink kindsIndexedUrl
wso2/carbon-identity-frameworkpullyes/v1/repositories/wso2/carbon-identity-framework

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Exploitation seen: yes
  • Remote: yes
  • Exposed hosts: 2054
  • Checked, none or zero: known exploited, known exploited by, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports