Skip to content
OpenAdvisories
Medium · 4.0 CVE-2024-31573 EUVD-2024-1578GHSA-chfm-68vv-pvw5

XMLUnit for Java has Insecure Defaults when Processing XSLT Stylesheets

Published Oct 17, 2025 · Updated Oct 17, 2025 · Assigned by mitre

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 products

VendorProductAffectedFixed
XMLUnit XMLUnit for Java 2.0.0 – < 2.10.0 2.10.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 xmlunit No fix yet —
Ubuntu 26.04 LTS xmlunit No fix yet —
Ubuntu 25.10 xmlunit No fix yet —
Ubuntu 24.04 LTS xmlunit No fix yet —
Ubuntu 22.04 LTS xmlunit No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS xmlunit No fix yet —
Ubuntu 18.04 LTS xmlunit No fix yet —
Ubuntu 16.04 LTS xmlunit No fix yet —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 xmlunit +6 2.8.2-6.amzn2023.0.4 ALAS2023-2025-1260

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.xmlunit:xmlunit-core < 2.10.0 2.10.0 GHSA-chfm-68vv-pvw5

Advisories 2

References