XMLUnit for Java before 2.10.0, in the default configuration, might allow code execution…
Priority MEDIUM 52CWE-669Published · Updated
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Partial Red Hat: 18 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat.
Summary
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.
Why it matters now
Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.0032 25th percentileScored 2026-11-07
Fix Partial XMLUnit for Java (XMLUnit): 2.10.0org.xmlunit:xmlunit-core (Maven): 2.10.0Red Hat: 18 without a fix
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| XMLUnit | XMLUnit for Java | 2.0.0 to before 2.10.0 | 2.10.0 | Patch available | CNA |
| — | org.xmlunit:xmlunit-core (Maven) | before 2.10.0 | 2.10.0 | Patch available | GHSA-chfm-68vv-pvw5 |
- XMLUnit for Java VendorXMLUnit Affected 2.0.0 to before 2.10.0 Fixed in 2.10.0 Patch available CNA
- org.xmlunit:xmlunit-core (Maven) Vendor— Affected before 2.10.0 Fixed in 2.10.0 Patch available GHSA-chfm-68vv-pvw5
Remediation
- Fix · CNA XMLUnit for Java (XMLUnit) Fixed in 2.10.0
- Fix · GHSA-chfm-68vv-pvw5 org.xmlunit:xmlunit-core (Maven) Fixed in 2.10.0 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat AMQ Broker 7 | Affected | No fix yet: Fix deferred |
| Red Hat AMQ Clients | Affected | No fix yet: Fix deferred |
| Red Hat Data Grid 8 | Affected | No fix yet: Fix deferred |
| Red Hat Fuse 7 | Affected | No fix planned: Out of support scope |
| Red Hat JBoss Enterprise Application Platform 7 | Affected | No fix yet: Fix deferred |
| Red Hat JBoss Enterprise Application Platform 8 | Affected | No fix yet: Fix deferred |
| Red Hat JBoss Enterprise Application Platform Expansion Pack | Affected | No fix yet: Fix deferred |
| Red Hat Process Automation 7 | Affected | No fix yet: Fix deferred |
| Red Hat Single Sign-On 7 | Affected | No fix yet: Fix deferred |
| Red Hat build of Apache Camel - HawtIO 4 | Affected | No fix yet: Fix deferred |
| Red Hat build of Apache Camel for Spring Boot 4 | Affected | No fix yet: Fix deferred |
| Red Hat build of Apicurio Registry 2 | Affected | No fix yet: Fix deferred |
| Red Hat build of Apicurio Registry 3 | Affected | No fix yet: Fix deferred |
| Red Hat build of Debezium 2 | Affected | No fix yet: Fix deferred |
| Red Hat build of Debezium 3 | Affected | No fix yet: Fix deferred |
| Red Hat build of OptaPlanner 8 | Affected | No fix yet: Fix deferred |
| streams for Apache Kafka 2 | Affected | No fix yet: Fix deferred |
| streams for Apache Kafka 3 | Affected | No fix yet: Fix deferred |
Timeline
- 2026-10-02 Threatist record created from CVE-2024-31573
- 2026-10-03 Alias added: GHSA-chfm-68vv-pvw5
References
Other 6
- https://github.com/advisories/GHSA-chfm-68vv-pvw5
- https://github.com/xmlunit/xmlunit/issues/264
- https://github.com/xmlunit/xmlunit/commit/b81d48b71dfd2868bdfc30a3e17ff973f32bc15b
- https://github.com/xmlunit/xmlunit/security/advisories/GHSA-chfm-68vv-pvw5
- https://docs.oracle.com/en/java/javase/22/security/java-api-xml-processing-jaxp-security-guide.html#GUID-E345AA09-801E-4B95-B83D-7F0C452538AA
- https://github.com/xmlunit/xmlunit
Sources
- CVE-2024-31573 · CVE Program
- CVE-2024-31573 · NVD
- FIRST EPSS
- GHSA-chfm-68vv-pvw5 · GitHub Advisory Database · CC BY 4.0
- CVE-2024-31573 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences