VDB

CVE-2024-31573

CVE-2024-31573 PUBLISHED CVSS 4 MEDIUM

XMLUnit for Java has Insecure Defaults when Processing XSLT Stylesheets

Reported by mitre · Published October 17, 2025

xmlunit-core is fixed in 2.10.0 (Maven Central)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
org.xmlunit:xmlunit-coreMaven Central2.10.0
hadoop-fips-3.5Chainguard3.5.0-r12
xmlunit-javadocAmazon Linux2.8.2-6.amzn2023.0.4
xmlunitAmazon Linux2.8.2-6.amzn2023.0.4
xmlunit-assertjAmazon Linux2.8.2-6.amzn2023.0.4
xmlunit-matchersAmazon Linux2.8.2-6.amzn2023.0.4
xmlunit-placeholdersAmazon Linux2.8.2-6.amzn2023.0.4
xmlunit-legacyAmazon Linux2.8.2-6.amzn2023.0.4
xmlunit-coreAmazon Linux2.8.2-6.amzn2023.0.4
XMLUnit for JavaXMLUnit2.10.0

Risk scores

CVSS 3.1
4
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

Affected products

VendorProductVersions
XMLUnitXMLUnit for Java2.0.0
chainguardhadoop-fips-3.50
amazon:2023xmlunit-javadoc0
amazon:2023xmlunit0
amazon:2023xmlunit-assertj0
amazon:2023xmlunit-matchers0
amazon:2023xmlunit-placeholders0
amazon:2023xmlunit-legacy0
Mavenorg.xmlunit:xmlunit-core0
amazon:2023xmlunit-core0
XMLUnitXMLUnit for Java2.0.0

Timeline

  • May 1, 2024 CVE Published
  • Oct 17, 2025 Coalition ESS Score (18 in total, the first dated here)
  • Oct 18, 2025 EPSS Score (30 in total, the first dated here)
  • Mar 17, 2026 Security Advisory
  • Apr 21, 2026 PoC Published

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-31573
vulnetix vdb fixes CVE-2024-31573

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-31573/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›