CVE-2024-31573
MEDIUM 4.0CVSS 3.1XMLUnit for Java has Insecure Defaults when Processing XSLT Stylesheets
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.
- Published
- 17 Oct 2025
- Last modified
- 2 Oct 2026
- Assigned by
- cve@mitre.org
- NVD status
- Deferred
- Weakness
- CWE-669
- Also known as
- GHSA-chfm-68vv-pvw5
- Sources
- NVDJSONOSV GHSA-chfm-68vv-pvw5JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | cve@mitre.org (Secondary) | CVSS 3.1 | MEDIUM 4.0 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Maven | org.xmlunit:xmlunit-core | < 2.10.0 | 2.10.0 |
References
- https://github.com/advisories/GHSA-chfm-68vv-pvw5
- https://github.com/xmlunit/xmlunit/commit/b81d48b71dfd2868bdfc30a3e17ff973f32bc15b · WEB
- https://github.com/xmlunit/xmlunit/issues/264 · WEB
- https://github.com/xmlunit/xmlunit/security/advisories/GHSA-chfm-68vv-pvw5 · WEB
- https://docs.oracle.com/en/java/javase/22/security/java-api-xml-processing-jaxp-security-guide.html#GUID-E345AA09-801E-4B95-B83D-7F0C452538AA · WEB
- https://github.com/xmlunit/xmlunit · PACKAGE
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 17 Oct 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 1 May 2024)