CVE-2024-2374
XML External Entity Injection in Multiple WSO2 Products Allows Arbitrary file read and Denial of Service
Mitigation
- Upgrade WSO2 API Manager to 4.3.0.57 or later.
- Upgrade WSO2 Identity Server to 6.1.0.136 or later.
- Upgrade WSO2 Open Banking AM to 2.0.0.328 or later.
- Upgrade WSO2 Open Banking IAM to 2.0.0.348 or later.
- Upgrade WSO2 Identity Server as Key Manager to 5.10.0.296 or later.
Who should check
- Anyone running WSO2 API Manager >= 3.1.0, < 3.1.0.278; >= 3.2.0, < 3.2.0.368; >= 4.0.0, < 4.0.0.280; >= 4.1.0, < 4.1.0.206; >= 4.2.0, < 4.2.0.144; >= 4.3.0, < 4.3.0.57
- Anyone running WSO2 Identity Server >= 5.10.0, < 5.10.0.300; >= 5.11.0, < 5.11.0.329; >= 6.0.0, < 6.0.0.179; >= 6.1.0, < 6.1.0.136
- Anyone running WSO2 Open Banking AM >= 2.0.0, < 2.0.0.328
- Anyone running WSO2 Open Banking IAM >= 2.0.0, < 2.0.0.348
- Anyone running WSO2 Identity Server as Key Manager >= 5.10.0, < 5.10.0.296
Vulnerability facts
- Affected
- WSO2 API Manager >= 3.1.0, < 3.1.0.278; >= 3.2.0, < 3.2.0.368; >= 4.0.0, < 4.0.0.280; >= 4.1.0, < 4.1.0.206; >= 4.2.0, < 4.2.0.144; >= 4.3.0, < 4.3.0.57; WSO2 Identity Server >= 5.10.0, < 5.10.0.300; >= 5.11.0, < 5.11.0.329; >= 6.0.0, < 6.0.0.179; >= 6.1.0, < 6.1.0.136; WSO2 Open Banking AM >= 2.0.0, < 2.0.0.328; WSO2 Open Banking IAM >= 2.0.0, < 2.0.0.348; WSO2 Identity Server as Key Manager >= 5.10.0, < 5.10.0.296
- Fixed in
- WSO2 API Manager 3.1.0.278, WSO2 API Manager 3.2.0.368, WSO2 API Manager 4.0.0.280, WSO2 API Manager 4.1.0.206, WSO2 API Manager 4.2.0.144, WSO2 API Manager 4.3.0.57, WSO2 Identity Server 5.10.0.300, WSO2 Identity Server 5.11.0.329, WSO2 Identity Server 6.0.0.179, WSO2 Identity Server 6.1.0.136, WSO2 Open Banking AM 2.0.0.328, WSO2 Open Banking IAM 2.0.0.348, WSO2 Identity Server as Key Manager 5.10.0.296
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: None
- EPSS
- 0.46% chance of exploitation in 30 days (percentile 32, 2026-11-26)
- CWE
- CWE-611
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| WSO2 API Manager | >= 3.1.0, < 3.1.0.278; >= 3.2.0, < 3.2.0.368; >= 4.0.0, < 4.0.0.280; >= 4.1.0, < 4.1.0.206; >= 4.2.0, < 4.2.0.144; >= 4.3.0, < 4.3.0.57 | — | cvelist |
| WSO2 Identity Server | >= 5.10.0, < 5.10.0.300; >= 5.11.0, < 5.11.0.329; >= 6.0.0, < 6.0.0.179; >= 6.1.0, < 6.1.0.136 | — | cvelist |
| WSO2 Open Banking AM | >= 2.0.0, < 2.0.0.328 | — | cvelist |
| WSO2 Open Banking IAM | >= 2.0.0, < 2.0.0.348 | — | cvelist |
| WSO2 Identity Server as Key Manager | >= 5.10.0, < 5.10.0.296 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-2374. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-2374.md Affected: WSO2 API Manager >= 3.1.0, < 3.1.0.278; >= 3.2.0, < 3.2.0.368; >= 4.0.0, < 4.0.0.280; >= 4.1.0, < 4.1.0.206; >= 4.2.0, < 4.2.0.144; >= 4.3.0, < 4.3.0.57; WSO2 Identity Server >= 5.10.0, < 5.10.0.300; >= 5.11.0, < 5.11.0.329; >= 6.0.0, < 6.0.0.179; >= 6.1.0, < 6.1.0.136; WSO2 Open Banking AM >= 2.0.… Fixed in: WSO2 API Manager 3.1.0.278, WSO2 API Manager 3.2.0.368, WSO2 API Manager 4.0.0.280, WSO2 API Manager 4.1.0.206, WSO2 API Manager 4.2.0.144, WSO2 API Manager 4.3.0.57, WSO2 Identity Server 5.10.0.300, WSO2 Identity Server 5.11.0.329, WSO2 Identity Server 6.0.0.179, WSO2 Identity Server 6.1.0.136, WS… Steps: 1. Search this machine and project for WSO2 API Manager, WSO2 Identity Server, WSO2 Open Banking AM, WSO2 Open Banking IAM, WSO2 Identity Server as Key Manager: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2024-2374 being exploited?
There is no confirmed exploitation: CVE-2024-2374 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.46% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-2374?
High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2024-2374?
WSO2 API Manager >= 3.1.0, < 3.1.0.278; >= 3.2.0, < 3.2.0.368; >= 4.0.0, < 4.0.0.280; >= 4.1.0, < 4.1.0.206; >= 4.2.0, < 4.2.0.144; >= 4.3.0, < 4.3.0.57; WSO2 Identity Server >= 5.10.0, < 5.10.0.300; >= 5.11.0, < 5.11.0.329; >= 6.0.0, < 6.0.0.179; >= 6.1.0, < 6.1.0.136; WSO2 Open Banking AM >= 2.0.0, < 2.0.0.328; WSO2 Open Banking IAM >= 2.0.0, < 2.0.0.348; WSO2 Identity Server as Key Manager >= 5.10.0, < 5.10.0.296.
Is there a fix for CVE-2024-2374?
Yes. Fixed in WSO2 API Manager 3.1.0.278, WSO2 API Manager 3.2.0.368, WSO2 API Manager 4.0.0.280, WSO2 API Manager 4.1.0.206, WSO2 API Manager 4.2.0.144, WSO2 API Manager 4.3.0.57, WSO2 Identity Server 5.10.0.300, WSO2 Identity Server 5.11.0.329, WSO2 Identity Server 6.0.0.179, WSO2 Identity Server 6.1.0.136, WSO2 Open Banking AM 2.0.0.328, WSO2 Open Banking IAM 2.0.0.348, WSO2 Identity Server as Key Manager 5.10.0.296. Upgrade WSO2 API Manager to 4.3.0.57 or later. Upgrade WSO2 Identity Server to 6.1.0.136 or later. Upgrade WSO2 Open Banking AM to 2.0.0.328 or later. Upgrade WSO2 Open Banking IAM to 2.0.0.348 or later. Upgrade WSO2 Identity Server as Key Manager to 5.10.0.296 or later.
How do I check if I'm affected by CVE-2024-2374?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.