CVE-2024-31573
published medium CVSS 3.1 · 4.0org.xmlunit/xmlunit-core: XMLUnit Insecure Defaults when Processing XSLT Stylesheets
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| XMLUnit | — | XMLUnit for Java2.0.0 to < 2.10.0 · Other versions: unknown | Affected | Not stated | mitre |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-1260 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | xmlunitnoarch | Listed in advisory | Not stated | ALAS2023-2025-1260 |
| Amazon Linux | AL2023 | xmlunitsrc | Listed in advisory | Not stated | ALAS2023-2025-1260 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.0 / 10
- Severity
- medium
- Provider
- mitre · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| XMLUnit | XMLUnit for Java | 2.0.0 to < 2.10.0 (affected · semver)Default: unknown | mitre · cna |
Weaknesses
1- CWE-669 CWE-669 Incorrect Resource Transfer Between Spheres
References
3Provider assertions
2mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- f33e00e50c8b270c584dd33badf869790a9c188f30f07bf8f033ec305f8449f4
- Ingested
- 23 Sep 2026, 08:22:25 UTC
- Source record
- Official CVE record