CVE-2024-31573XMLUnit for Java
Medium 4.0
Follow: this CVE · XMLUnit · XMLUnit for Java We alert you by email or Slack (account required).
- Priority
- 24
- CVSS 3.1
- 4.0
- EPSS
- 0.2% probability of exploitation in 30 days · percentile 10
- Auth required
- Yes
- Published
- Oct 17, 2025
- Updated
- Oct 2, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-669
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for XMLUnit for Java.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.xmlunit:xmlunit-core |
< 2.10.0 |
2.10.0 |
— |
Per OSV / GitHub Advisories (GHSA-chfm-68vv-pvw5). Check the version in your lockfile before upgrading.
Affected products
- XMLUnit · XMLUnit for Java
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.