powsybl/powsybl-core · Security
PowSyBl Core XML Reader allows XXE and SSRF
- GHSA ID
- GHSA-qpj9-qcwx-8jv2
- CVE ID
- CVE-2025-47293
- Severity
- low
- Published
- Updated
- CVSS v4
- 2.7 · 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
Description
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
CWEs
- CWE-611 · Improper Restriction of XML External Entity Reference
- CWE-918 · Server-Side Request Forgery (SSRF)
References
- https://github.com/powsybl/powsybl-core/security/advisories/GHSA-qpj9-qcwx-8jv2 ↗
- https://github.com/powsybl/powsybl-core/commit/e6c7c4997ae8758b54a2f23ce1a499e25113acdc ↗
- https://github.com/powsybl/powsybl-core/releases/tag/v6.7.2 ↗
- https://nvd.nist.gov/vuln/detail/CVE-2025-47293 ↗
- https://github.com/advisories/GHSA-qpj9-qcwx-8jv2 ↗