XMLUnit Java <2.10.0 XSLT CodeExec via untrusted stylesheet
CVE-2024-31573 Published on October 17, 2025
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.
Weakness Type
Incorrect Resource Transfer Between Spheres
The product does not properly transfer a resource/behavior to another sphere, or improperly imports a resource/behavior from another sphere, in a manner that provides unintended control over that resource.
Products Associated with CVE-2024-31573
stack.watch emails you whenever new vulnerabilities are published in Xmlunit For Java or Oracle. Just hit a watch button to start following.
Affected Versions
XMLUnit for Java:- Version 2.0.0 and below 2.10.0 is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.