# 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…

- Severity: Critical 9.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.76%, higher than 90% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-05-11T00:00:00.000Z
- Modified: 2026-06-17T04:09:54.740Z
- Weaknesses: CWE-611
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- wso2 api_manager: 2.6.0; 3.0.0; 3.1.0; 3.2.0; 4.0.0
- wso2 identity_server: 5.7.0; 5.8.0; 5.9.0; 5.10.0; 5.11.0
- wso2 identity_server_as_key_manager: 5.7.0; 5.9.0; 5.10.0

## Every score

- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- NVD: CVSS:2.0 6.4 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:P`

## References

- <http://packetstormsecurity.com/files/167465/WSO2-Management-Console-XML-Injection.html> (exploit, third-party-advisory, vdb-entry)
- <https://github.com/wso2/carbon-identity-framework/pull/3472> (patch, third-party-advisory)
- <http://seclists.org/fulldisclosure/2022/Jun/7> (mailing-list, third-party-advisory)
- <https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2021/WSO2-2021-1289/>

## Sources

- CVE List: [CVE-2021-42646](https://www.cve.org/CVERecord?id=CVE-2021-42646), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2021-42646](https://nvd.nist.gov/vuln/detail/CVE-2021-42646), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-42646 · Whole record: https://cve.day/CVE-2021-42646.json · Rebuilt by cve.day 2026-11-25T22:58:07.493Z
