Vulnerabilities in pkg:maven/org.wso2.carbon.mediation/org.wso2.carbon.localentry

PACKAGE
Advisory Identifier: GHSA-fvfq-q238-j7j3
Advisory Summary

CVE-2025-10713 is a MODERATE (CVSS 6.5) wso2 carbon mediation vulnerable to vulnerability (CWE-611: Improper Restriction of XML External Entity Reference) affecting Org.wso2.carbon.localentry libraries in the Maven ecosystem. The issue involves wso2 carbon mediation vulnerable to xml external entity (xxe) attacks. Remediation is available in the latest vendor maintenance releases.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.wso2.carbon.mediation/org.wso2.carbon.localentry

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/org.wso2.carbon.mediation/org.wso2.carbon.localentry. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-fvfq-q238-j7j3 CVE-2025-10713 MODERATE WSO2 Carbon Mediation vulnerable to XML External Entity (XXE) attacks

CVE-2025-10713 at a Glance

CVE Identifier CVE-2025-10713
GHSA Identifier GHSA-fvfq-q238-j7j3
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-611: Improper Restriction of XML External Entity Reference
Affected Product Org.wso2.carbon.localentry
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 6.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required High (PR:H)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability High (A:H)

How to Fix CVE-2025-10713

To remediate this vulnerability, upgrade all affected Org.wso2.carbon.localentry dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.wso2.carbon.mediation:org.wso2.carbon.localentry fixed: Latest secure release
<dependency>
    <groupId>org.wso2.carbon.mediation</groupId>
    <artifactId>org.wso2.carbon.localentry</artifactId>
    <version>Latest secure release</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.wso2.carbon.mediation

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2025-10713, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.wso2.carbon.mediation

Analyze the terminal output to locate any version of Org.wso2.carbon.localentry in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.wso2.carbon.mediation command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-611: Improper Restriction of XML External Entity Reference, where the product processes an xml document that can contain xml entities with uris that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output. In Org.wso2.carbon.localentry, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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.

CVE-2025-10713 Affected Org.wso2.carbon.localentry Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
org.wso2.carbon.mediation:org.wso2.carbon.localentry
Maven

References

Frequently Asked Questions

What is CVE-2025-10713?
CVE-2025-10713 is a security vulnerability in Org.wso2.carbon.localentry involving WSO2 Carbon Mediation vulnerable to XML External Entity (XXE) attacks under CWE-611: Improper Restriction of XML External Entity Reference.
Which Org.wso2.carbon.localentry versions are affected?
Affected versions include releases prior to current release patches across affected packages: org.wso2.carbon.mediation:org.wso2.carbon.localentry.
What version fixes CVE-2025-10713?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is org.wso2.carbon.localentry affected?
Yes, org.wso2.carbon.mediation:org.wso2.carbon.localentry is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2025-10713?
CVE-2025-10713 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:H.
What CWE is associated with CVE-2025-10713?
CVE-2025-10713 is classified under CWE-611: Improper Restriction of XML External Entity Reference (The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.).
How can I check Maven dependencies for CVE-2025-10713?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.wso2.carbon.mediation'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-fvfq-q238-j7j3",
  "modified" : "2025-11-06T15:12:30Z",
  "published" : "2025-11-05T18:31:31Z",
  "aliases" : [ "CVE-2025-10713" ],
  "summary" : "WSO2 Carbon Mediation vulnerable to XML External Entity (XXE) attacks",
  "details" : "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.\n\nA 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.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.wso2.carbon.mediation:org.wso2.carbon.localentry"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "< 4.7.259"
    }
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-10713"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/wso2/carbon-mediation/pull/1784"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/wso2/carbon-mediation/commit/b995b2f1db96a4697791f0202cc8713f15640fd5"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/wso2/carbon-mediation"
  }, {
    "type" : "WEB",
    "url" : "https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2025/WSO2-2025-4505"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-611" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-11-06T15:12:30Z",
    "nvd_published_at" : "2025-11-05T18:15:32Z"
  }
}