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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | xmlunit +6 | 2.8.2-6.amzn2023.0.4 | ALAS2023-2025-1260 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.xmlunit:xmlunit-core | < 2.10.0 | 2.10.0 | GHSA-chfm-68vv-pvw5 |
Advisories 2
- WID-SEC-2026-1203 Oracle Fusion Middleware: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 21, 2026
- ALAS2023-2025-1260 Important: xmlunit security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Nov 10, 2025