Moderate severityNVD Advisory· Published Nov 5, 2025· Updated Nov 5, 2025
XML External Entity (XXE) Vulnerability in Multiple WSO2 Products Due to Improper XML Parser Configuration
CVE-2025-10713
Description
An XML External Entity (XXE) vulnerability exists in multiple WSO2 products due to improper configuration of the XML parser. The application parses user-supplied XML without applying sufficient restrictions, allowing resolution of external entities.
A successful attack could enable a remote, unauthenticated attacker to read sensitive files from the server's filesystem or perform denial-of-service (DoS) attacks that render affected services unavailable.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.wso2.carbon.mediation:org.wso2.carbon.localentryMaven | >= 0 | — |
Affected products
4- Range: 4.7.30
- Range: 4.5.0
- WSO2/WSO2 Open Banking IAMv5Range: 2.0.0
- WSO2/WSO2 Universal Gatewayv5Range: 4.5.0
Patches
1b995b2f1db96Merge pull request #1784 from hisanhunais/parser-fix
1 file changed · +2 −0
components/mediation-admin/org.wso2.carbon.localentry/src/main/java/org/wso2/carbon/localentry/service/LocalEntryAdmin.java+2 −0 modified@@ -668,6 +668,8 @@ private OMElement nonCoalescingStringToOm(String xmlStr) throws XMLStreamExcepti XMLInputFactory xmlInFac = XMLInputFactory.newInstance(); //Non-Coalescing parsing xmlInFac.setProperty("javax.xml.stream.isCoalescing", false); + xmlInFac.setProperty(XMLInputFactory.SUPPORT_DTD, Boolean.FALSE); + xmlInFac.setProperty(XMLInputFactory.IS_SUPPORTING_EXTERNAL_ENTITIES, Boolean.FALSE); XMLStreamReader parser = xmlInFac.createXMLStreamReader(strReader); StAXOMBuilder builder = new StAXOMBuilder(parser);
Vulnerability mechanics
Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
6- github.com/advisories/GHSA-fvfq-q238-j7j3ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-10713ghsaADVISORY
- security.docs.wso2.com/en/latest/security-announcements/security-advisories/2025/WSO2-2025-4505/mitrevendor-advisory
- github.com/wso2/carbon-mediation/commit/b995b2f1db96a4697791f0202cc8713f15640fd5ghsaWEB
- github.com/wso2/carbon-mediation/pull/1784ghsaWEB
- security.docs.wso2.com/en/latest/security-announcements/security-advisories/2025/WSO2-2025-4505ghsaWEB
News mentions
0No linked articles in our index yet.