CVE-2026-24400: Vulnerability in Assertj

Critical. An XML External Entity (XXE) vulnerability exists in org.assertj.core.util.xml.XmlStringPrettyFormatter: the toXmlDocument(String) method initializes DocumentBuilderFactory with default settings, without disabling DTDs or external entities. This formatter is used by the isXmlEqualTo(CharSequence) assertion for CharSequence values.

Maven, CWE-611

Exploitation
None confirmed
Severity
9.1 of 10
Attack likelihood
0.6 % in 30 days
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-rqfh-9r24-8c9r
EU ID
EUVD-2026-4724
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Weakness
CWE-611
Published
26 Jan 2026
Last change
17 Jun 2026
Likelihood rank
Higher than 49 % of all rated vulnerabilities
Analysis status
Analyzed
Ecosystem
Maven

Affected products

Affected versions and the first fixed release

  • Assertj From 1.4.0 before 3.27.7. Fixed in 3.27.7

Affected packages

Vulnerable version ranges and fixed releases

  • org.assertj:assertj-core Maven, Affected from 1.4.0 through 3.27.6. Fixed in 3.27.7

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Related