Skip to content
Fencer Vulns
medium 4.0

CVE-2024-31573 json

XMLUnit for Java has Insecure Defaults when Processing XSLT Stylesheets

published 2024-05-01 2 y ago modified 2026-10-02 38 d ago also GHSA-chfm-68vv-pvw5 , EUVD-2024-1578

cvss
4.0
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 25%
public exploits
0
none known

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.

Patch / fix

  • maven org.xmlunit:xmlunit-core 2.10.0
  • XMLUnit XMLUnit for Java 2.10.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-31573 updated cvss 4.0

org.xmlunit/xmlunit-core: XMLUnit Insecure Defaults when Processing XSLT Stylesheets

  • Red Hat AMQ Broker 7 xmlunit-core Red Hat AMQ Clients xmlunit-core Red Hat build of Apache Camel - HawtIO 4 xmlunit-core Red Hat build of Apache Camel for Spring Boot 4 xmlunit-core Red Hat build of Apicurio Registry 2 xmlunit-core Red Hat build of Apicurio Registry 3 xmlunit-core
    +4 more products
    Red Hat build of Debezium 2 xmlunit-core Red Hat build of Debezium 3 xmlunit-core Red Hat build of OptaPlanner 8 xmlunit-core Red Hat Data Grid 8 xmlunit-core
    affected: workaround, no fix available “Fix deferred”
  • Red Hat Fuse 7 xmlunit-core
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat JBoss Enterprise Application Platform 7 xmlunit-core Red Hat JBoss Enterprise Application Platform 8 xmlunit-core Red Hat JBoss Enterprise Application Platform Expansion Pack xmlunit-core Red Hat Process Automation 7 xmlunit-core Red Hat Single Sign-On 7 xmlunit-core Red Hat streams for Apache Kafka 2 xmlunit-core
    +1 more products
    Red Hat streams for Apache Kafka 3 xmlunit-core
    affected: workaround, no fix available “Fix deferred”

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
partial
Assessed
12 mo ago

Exploit prediction

0.32% chance of exploitation in the next 30 days, higher than 25% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/xmlunit/xmlunit/issues/264 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 4.0 CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

Affected packages

ecosystem package affected fixed in
maven org.xmlunit:xmlunit-core
<2.10.0
2.10.0

Affected products

  • XMLUnit XMLUnit for Java

Classification

Weakness
  • CWE-669 Incorrect Resource Transfer Between Spheres

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.