CVE-2024-31573

Medium

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.

SeverityMedium
CVSS4.0
Exploit probability—
ProductOrg.xmlunit:xmlunit-core
PublishedOct 17, 2025
First seenOct 17, 2025
Weakness typeCWE-669CWE-669

How to fix

Update
  • org.xmlunit:xmlunit-core2.10.0 or later

Affected products

ProductAffected versionsFixed in
org.xmlunit:xmlunit-coreMavenv < 2.10.02.10.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.