Red Hat Lightwell has released org.xmlunit:xmlunit-core 2.9.1.rhlw-00002 with a backported security fix.
CVE-2024-31573: 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.
This patched artifact is a drop-in replacement for org.xmlunit:xmlunit-core 2.9.1 from Maven Central.