CVE-2024-31573
mediumpriority · track · 0EPSS 0.003 · 25 %ileDEEUUSEPSS · scored 2026-10-27
XMLUnit for Java before 2.10.0, in the default configuration, might allow code execution via an untrusted stylesheet (used for an XSLT transformation), because XSLT extension functions are enabled.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 3.7–4
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (11)
Products and version ranges known to be affected.
- Oracle Fusion Middleware 12.1.3.0.0all versionscert_bundDEcpe:/a:oracle:fusion_middleware:12.1.3.0.0
- Oracle Fusion Middleware 12.2.1.4.0all versionscert_bundDEcpe:/a:oracle:fusion_middleware:12.2.1.4.0
- Oracle Fusion Middleware 14.1.1.0.0all versionscert_bundDEcpe:/a:oracle:fusion_middleware:14.1.1.0.0
- Oracle Fusion Middleware 14.1.2.0.0all versionscert_bundDEcpe:/a:oracle:fusion_middleware:14.1.2.0.0
- Oracle Fusion Middleware 14.1.2.1.0all versionscert_bundDEcpe:/a:oracle:fusion_middleware:14.1.2.1.0
- Oracle Fusion Middleware 15.1.1.0.0all versionscert_bundDEcpe:/a:oracle:fusion_middleware:15.1.1.0.0
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2026-1203Oracle Fusion Middleware: Mehrere SchwachstellenDeutsch2026-04-21csaf · cert_bundDE
Ein entfernter, anonymer oder authentisierter Angreifer kann mehrere Schwachstellen in Oracle Fusion Middleware ausnutzen, um die Vertraulichkeit, Integrität und Verfügbarkeit zu gefährden.
- GHSA-chfm-68vv-pvw5XMLUnit for Java has Insecure Defaults when Processing XSLT Stylesheets2024-05-01ghsa · osvUS
### Impact When performing XSLT transformations XMLUnit for Java did not disable XSLT extension functions by default. Depending on the XSLT processor being used this could allow arbitrary code to be executed when XMLUnit is used to transform data with a stylesheet who's source can not be trusted. If the stylesheet can be provided externally this may even lead to a remote code execution. ## Patches Users are advised to upgrade to XMLUnit for Java 2.10.0 where the default has been changed by means of https://github.com/xmlunit/xmlunit/commit/b81d48b71dfd2868bdfc30a3e17ff973f32bc15b ### Workarounds XMLUnit's main use-case is performing tests on code that generates or processes XML. Most users will not use it to perform arbitrary XSLT transformations. Users running XSLT transformations with untrusted stylesheets should explicitly use XMLUnit's APIs to pass in a pre-configured TraX `TransformerFactory` with extension functions disabled via features and attributes. The required `setFactory` or `setTransformerFactory` methods have been available since XMLUnit for Java 2.0.0. ### References [Bug Report](https://github.com/xmlunit/xmlunit/issues/264) [JAXP Security Guide](https://docs.oracle.com/en/java/javase/22/security/java-api-xml-processing-jaxp-security-guide.html#GUID-E345AA09-801E-4B95-B83D-7F0C452538AA)
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (11)
External citations — patches, advisories, analysis.
- https://github.com/advisories/GHSA-chfm-68vv-pvw5cnnvd
- https://github.com/xmlunit/xmlunit/commit/b81d48b71dfd2868bdfc30a3e17ff973f32bc15bcnnvd
- https://github.com/xmlunit/xmlunit/issues/264cnnvd
- https://github.com/xmlunit/xmlunit/releasesPatchcnnvd
- https://www.oracle.com/security-alerts/cpuapr2026.htmlcnnvd
- https://github.com/advisories/GHSA-chfm-68vv-pvw5enisa_euvd
- https://github.com/xmlunit/xmlunit/commit/b81d48b71dfd2868bdfc30a3e17ff973f32bc15benisa_euvd
- https://github.com/xmlunit/xmlunit/issues/264enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan