CVE-2025-47293: Powsybl commons PowSyBl Core XML Reader Allows Vulnerability

LOW
Advisory Identifier: GHSA-qpj9-qcwx-8jv2
CWE-918 CWE-611
Published
Advisory Summary

CVE-2025-47293 is a LOW powsybl core xml reader allows vulnerability (CWE-918: Server-Side Request Forgery (SSRF)) affecting Powsybl commons libraries in the Maven ecosystem. The issue involves powsybl core xml reader allows xxe and ssrf. Remediation is available by upgrading affected packages to version 6.7.2.

CVE-2025-47293 at a Glance

CVE Identifier CVE-2025-47293
GHSA Identifier GHSA-qpj9-qcwx-8jv2
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification CWE-918: Server-Side Request Forgery (SSRF)
Affected Product Powsybl commons
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2025-47293

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

com.powsybl:powsybl-commons fixed: 6.7.2
<dependency>
    <groupId>com.powsybl</groupId>
    <artifactId>powsybl-commons</artifactId>
    <version>6.7.2</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=com.powsybl

How to Check if You Are Affected

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

mvn dependency:tree -Dincludes=com.powsybl

Analyze the terminal output to locate any version of Powsybl commons in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.7.2), your application is affected.

Note: The mvn dependency:tree -Dincludes=com.powsybl 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-918: Server-Side Request Forgery (SSRF), where the web server receives a url or similar request from an upstream component and retrieves the contents of this url, but it does not sufficiently ensure that the request is being sent to the expected destination. In Powsybl commons, 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

### Impact _What kind of vulnerability is it? Who is impacted?_ In certain places, powsybl-core XML parsing is vulnerable to an XXE attack and in on place also to an SSRF attack. This allows an attacker to elevate their privileges to read files that they do not have permissions to, including sensitive files on the system. The vulnerable class is `com.powsybl.commons.xml.XmlReader` which is considered to be untrusted in use cases where untrusted users can submit their XML to the vulnerable methods. This can be a multi-tenant application that hosts many different users perhaps with different privilege levels. #### Am I impacted? You are vulnerable if you allow untrusted users to import untrusted CGMES or XIIDM network files. ### Patches com.powsybl:powsybl-commons:6.7.2 and higher ### References [powsybl-core v6.7.2](https://github.com/powsybl/powsybl-core/releases/tag/v6.7.2)

CVE-2025-47293 Affected Powsybl commons Versions

1 component(s)
Fixed Versions:
6.7.2
Product / Package Ecosystem Affected Versions Fixed Version
com.powsybl:powsybl-commons
Maven
< 6.7.2
6.7.2

References

Frequently Asked Questions

What is CVE-2025-47293?
CVE-2025-47293 is a security vulnerability in Powsybl commons involving PowSyBl Core XML Reader allows XXE and SSRF under CWE-918: Server-Side Request Forgery (SSRF).
Which Powsybl commons versions are affected?
Affected versions include releases prior to 6.7.2 across affected packages: com.powsybl:powsybl-commons.
What version fixes CVE-2025-47293?
Upgrading to 6.7.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is powsybl-commons affected?
Yes, com.powsybl:powsybl-commons is affected in releases prior to 6.7.2. Upgrade your dependency to 6.7.2 or later.
What CWE is associated with CVE-2025-47293?
CVE-2025-47293 is classified under CWE-918: Server-Side Request Forgery (SSRF) (The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.).
How can I check Maven dependencies for CVE-2025-47293?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=com.powsybl'. 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-qpj9-qcwx-8jv2",
  "modified" : "2025-06-20T14:19:17Z",
  "published" : "2025-06-19T14:29:40Z",
  "aliases" : [ "CVE-2025-47293" ],
  "summary" : "PowSyBl Core XML Reader allows XXE and SSRF",
  "details" : "### Impact\n_What kind of vulnerability is it? Who is impacted?_\nIn certain places, powsybl-core XML parsing is vulnerable to an XXE attack and in on place also to an SSRF attack.\nThis allows an attacker to elevate their privileges to read files that they do not have permissions to, including sensitive files on the system.\nThe vulnerable class is `com.powsybl.commons.xml.XmlReader` which is considered to be untrusted in use cases where untrusted users can submit their XML to the vulnerable methods. This can be a multi-tenant application that hosts many different users perhaps with different privilege levels.\n\n#### Am I impacted?\nYou are vulnerable if you allow untrusted users to import untrusted CGMES or XIIDM network files.\n\n### Patches\ncom.powsybl:powsybl-commons:6.7.2 and higher\n\n### References\n[powsybl-core v6.7.2](https://github.com/powsybl/powsybl-core/releases/tag/v6.7.2)",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.powsybl:powsybl-commons"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "6.7.2"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 6.7.1"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/powsybl/powsybl-core/security/advisories/GHSA-qpj9-qcwx-8jv2"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-47293"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/powsybl/powsybl-core/commit/e6c7c4997ae8758b54a2f23ce1a499e25113acdc"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/powsybl/powsybl-core"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/powsybl/powsybl-core/releases/tag/v6.7.2"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-611", "CWE-918" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-06-19T14:29:40Z",
    "nvd_published_at" : "2025-06-19T22:15:19Z"
  }
}