CVE-2024-31573

published 17 Oct 2025 · updated 19 Oct 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.

4.0MediumCVSS 4.0EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 2.10.0.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
XMLUnit>=2.0.0 <2.10.02.10.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-31573 severity on Zeptric[![CVE-2024-31573](https://zeptric.io/badge/cve/CVE-2024-31573.svg)](https://zeptric.io/cve/CVE-2024-31573)