{"id":"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.","aliases":["GHSA-chfm-68vv-pvw5"],"modified":"2026-03-13T07:54:21.365780Z","published":"2025-10-17T19:15:36.627Z","references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-chfm-68vv-pvw5"},{"type":"REPORT","url":"https://github.com/xmlunit/xmlunit/issues/264"},{"type":"FIX","url":"https://github.com/xmlunit/xmlunit/commit/b81d48b71dfd2868bdfc30a3e17ff973f32bc15b"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/xmlunit/xmlunit","events":[{"introduced":"0"},{"fixed":"33a5d6a28712878fc1355802571aab074d2145c1"},{"fixed":"b81d48b71dfd2868bdfc30a3e17ff973f32bc15b"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"2.10.0"}]}}],"versions":["v2.0.0","v2.0.0-alpha-02","v2.0.0-alpha-03","v2.0.0-alpha-04","v2.1.0","v2.1.1","v2.2.0","v2.2.1","v2.3.0","v2.4.0","v2.5.0","v2.5.1","v2.6.0","v2.6.1","v2.6.2","v2.6.3","v2.6.4","v2.7.0","v2.8.0","v2.8.1","v2.8.2","v2.8.3","v2.8.4","v2.9.0","v2.9.1"],"database_specific":{"vanir_signatures":[{"digest":{"line_hashes":["154611123921423421645335976608025304895","228814211565522784231639311710956742459","5886931627580132605871572100413929395","247864260715356687368484303476982227710","199134340918989124889742310121177206632","59732223403455170526283562180705348894","99535819728291082660288204711498194286","173314904974029999475071140212227473086","172171201189454814384448134489661990848","136327471852444456936191467561585206077","322207521424604691247843753978392961497","213835750640475560917790653373277748719","170565629009380951464640414002170532011","120003259985969365163875791320050297503"],"threshold":0.9},"signature_type":"Line","deprecated":false,"id":"CVE-2024-31573-694cd8fc","source":"https://github.com/xmlunit/xmlunit/commit/b81d48b71dfd2868bdfc30a3e17ff973f32bc15b","target":{"file":"xmlunit-core/src/main/java/org/xmlunit/util/TransformerFactoryConfigurer.java"},"signature_version":"v1"}],"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-31573.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"}]}