Home / Wso2 / Api Manager / CVE-2021-42646
CVE-2021-42646: is it exploited, and which versions of Wso2 Api Manager are affected and fixed?
CVE-2021-42646 is a XML external entity (XXE) vulnerability in Wso2 Api Manager. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:39 UTC). Affected: api manager 2.6.0, api manager 3.0.0, api manager 3.1.0 and 10 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Critical (9.1, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:48 UTC.
What is CVE-2021-42646?
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.
From the CVE record by mitre, last updated August 4, 2024, 03:38 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| wso2 | api manager | 2.6.0 | application |
| wso2 | api manager | 3.0.0 | application |
| wso2 | api manager | 3.1.0 | application |
| wso2 | api manager | 3.2.0 | application |
| wso2 | api manager | 4.0.0 | application |
| wso2 | identity server | 5.7.0 | application |
| wso2 | identity server | 5.8.0 | application |
| wso2 | identity server | 5.9.0 | application |
| wso2 | identity server | 5.10.0 | application |
| wso2 | identity server | 5.11.0 | application |
| wso2 | identity server as key manager | 5.7.0 | application |
| wso2 | identity server as key manager | 5.9.0 | application |
| wso2 | identity server as key manager | 5.10.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 04:09 UTC.
How severe is CVE-2021-42646?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H | NVD |
| Medium 6.4 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:N/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-42646 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 3.76% probability of exploitation activity in the next 30 days, percentile 90.2 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-611 Improper Restriction of XML External Entity Reference
Where are the vendor advisories and references?
- https://github.com/wso2/carbon-identity-framework/pull/3472
- 20220610 XML External Entity (XXE) vulnerability in the WSO2 Management Console mailing-list
- http://packetstormsecurity.com/files/167465/WSO2-Management-Console-XML-Injection.html
- https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2021/WSO2-2021-1289/
When was it published, and where is the official record?
- Reserved
- October 18, 2021
- Published
- May 11, 2022, 00:00 UTC
- CVE record updated
- August 4, 2024, 03:38 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 04:09 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:48 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Api Manager?
- Apr 18, 2022CVE-2022-29464 Wso2 Api Manager: path traversal (reading or writing files outside the intended folder) exploited
- May 23, 2023CVE-2023-31664 Wso2 Api Manager: cross-site scripting (XSS)
- Apr 21, 2022CVE-2022-29548 Wso2 Api Manager: cross-site scripting (XSS)
- Dec 7, 2021CVE-2021-36760 Wso2 Api Manager: cross-site scripting (XSS)
- Apr 5, 2021CVE-2020-17453 Wso2 Api Manager: cross-site scripting (XSS)
- Oct 29, 2020CVE-2020-27885 Wso2 Api Manager: cross-site scripting (XSS)
- Oct 21, 2020CVE-2020-17454 Wso2 Api Manager: cross-site scripting (XSS)
- Aug 27, 2020CVE-2020-24706 Wso2 Api Manager: cross-site scripting (XSS)
Questions about CVE-2021-42646
Is CVE-2021-42646 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 3.76% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Wso2 Api Manager are affected by CVE-2021-42646?
api manager 2.6.0, api manager 3.0.0, api manager 3.1.0, api manager 3.2.0, api manager 4.0.0, identity server 5.7.0 and 7 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2021-42646?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2021-42646?
Critical (9.1, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2021-42646?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.