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

High 7.5 Published Updated

Attackers can read arbitrary files and cause denial of service via XML External Entity injection in WSO2 products.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-2374?

CVE-2024-2374 is a high-severity vulnerability in Wso2 Api Manager, published on 16 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-611

Which versions are affected by CVE-2024-2374?

It affects 5 products.

Products include Wso2 Api Manager, Wso2 Identity Server, Wso2 Identity Server as Key Manager, Wso2 Open Banking Am, Wso2 Open Banking Iam.

How do I fix CVE-2024-2374?

No fix has been published for CVE-2024-2374 yet. Limit exposure of the affected software until one is available.

Is CVE-2024-2374 being exploited?

There is no known exploitation of CVE-2024-2374 in the wild and no public exploit code.

All Wso2 Api Manager vulnerabilities

Sources

Also known as GHSA-98jv-r7r8-3rqm.

Is CVE-2024-2374 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free