Vulnerability · Published Oct 17, 2025 · Assigned by mitre

CVE-2024-31573

Medium 4.0

In plain English

A medium-severity security flaw in XMLUnit for Java from XMLUnit. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 25% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.0Medium
Exploit odds (30 days)0.3%top 74.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.xmlunit:xmlunit-core2.10.0GHSA-chfm-68vv-pvw5
Ubuntu:22.04:LTSxmlunitno fix listedUBUNTU-CVE-2024-31573
Ubuntu:24.04:LTSxmlunitno fix listedUBUNTU-CVE-2024-31573
Ubuntu:25.10xmlunitno fix listedUBUNTU-CVE-2024-31573
Ubuntu:26.04:LTSxmlunitno fix listedUBUNTU-CVE-2024-31573
Ubuntu:26.10xmlunitno fix listedUBUNTU-CVE-2024-31573

Affected products (as reported)

VendorProductVersions
XMLUnit XMLUnit for Java 2.0.0 – before 2.10.0

Weakness: CWE-669 · Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

References