# CVE-2024-31573: 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.

CVE-2024-31573 is fixed in 7 products on 1 platform, first by ALAS2023-2025-1260, released November 10, 2025. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2024-31573
- Priority: Routine
- CVSS: 4.0 (Moderate)
- EPSS: 0.0032
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Oct 19, 2025
- Weakness: Incorrect Resource Transfer Between Spheres
- Vendor advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-31573

## Description

Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2024-31573: 	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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | xmlunit amzn 2023 | 2.8.2-6.amzn2023.0.4 | [ALAS2023-2025-1260](https://patchblox.com/security/data/fix/linux/alas2023-2025-1260.md) | Nov 10, 2025 |
| Linux | xmlunit-assertj amzn 2023 | 2.8.2-6.amzn2023.0.4 | [ALAS2023-2025-1260](https://patchblox.com/security/data/fix/linux/alas2023-2025-1260.md) | Nov 10, 2025 |
| Linux | xmlunit-core amzn 2023 | 2.8.2-6.amzn2023.0.4 | [ALAS2023-2025-1260](https://patchblox.com/security/data/fix/linux/alas2023-2025-1260.md) | Nov 10, 2025 |
| Linux | xmlunit-javadoc amzn 2023 | 2.8.2-6.amzn2023.0.4 | [ALAS2023-2025-1260](https://patchblox.com/security/data/fix/linux/alas2023-2025-1260.md) | Nov 10, 2025 |
| Linux | xmlunit-legacy amzn 2023 | 2.8.2-6.amzn2023.0.4 | [ALAS2023-2025-1260](https://patchblox.com/security/data/fix/linux/alas2023-2025-1260.md) | Nov 10, 2025 |
| Linux | xmlunit-matchers amzn 2023 | 2.8.2-6.amzn2023.0.4 | [ALAS2023-2025-1260](https://patchblox.com/security/data/fix/linux/alas2023-2025-1260.md) | Nov 10, 2025 |
| Linux | xmlunit-placeholders amzn 2023 | 2.8.2-6.amzn2023.0.4 | [ALAS2023-2025-1260](https://patchblox.com/security/data/fix/linux/alas2023-2025-1260.md) | Nov 10, 2025 |

---

Data as of 2026-11-10T13:56:55Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
