Code Injection in xmlunit - CVE-2024-31573

 

Code Injection in xmlunit - CVE-2024-31573

Published: July 26, 2024


Vulnerability identifier: #VU94755
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2024-31573
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: XMLUnit
Affected software:
xmlunit

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to XMLUnit for Java does not disable XSLT extension functions by default when performing XSLT transformations. A remote attacker can send a specially crafted request and execute arbitrary code on the target system.


How to mitigate CVE-2024-31573

Install updates from vendor's website.

Sources