{"id":"UBUNTU-CVE-2024-31573","details":"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.","modified":"2026-01-20T17:52:45.030033Z","published":"2025-10-17T19:15:00Z","upstream":["CVE-2024-31573"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-31573"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-31573"},{"type":"REPORT","url":"https://github.com/advisories/GHSA-chfm-68vv-pvw5"},{"type":"REPORT","url":"https://github.com/xmlunit/xmlunit/issues/264"},{"type":"REPORT","url":"https://github.com/xmlunit/xmlunit/commit/b81d48b71dfd2868bdfc30a3e17ff973f32bc15b"}],"affected":[{"package":{"name":"xmlunit","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/xmlunit@1.6-1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.6-1","binary_name":"libxmlunit-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-31573.json"}},{"package":{"name":"xmlunit","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/xmlunit@1.6-1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.6-1","binary_name":"libxmlunit-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-31573.json"}},{"package":{"name":"xmlunit","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/xmlunit@1.6-2?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6-1","1.6-2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.6-2","binary_name":"libxmlunit-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-31573.json"}},{"package":{"name":"xmlunit","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/xmlunit@1.6-2?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6-2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.6-2","binary_name":"libxmlunit-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-31573.json"}},{"package":{"name":"xmlunit","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/xmlunit@1.6-2?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6-2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.6-2","binary_name":"libxmlunit-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-31573.json"}},{"package":{"name":"xmlunit","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/xmlunit@1.6-2?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6-2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.6-2","binary_name":"libxmlunit-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-31573.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}