Red Hat VEX
RHVEX-CVE-2026-24400
assertj: AssertJ: Information disclosure and denial of service via XML External Entity (XXE)
Details
A flaw was found in AssertJ. An XML External Entity (XXE) vulnerability exists in the XmlStringPrettyFormatter component, which is used by the isXmlEqualTo(CharSequence) assertion. If an application processes untrusted XML input using these methods, a remote attacker could exploit this flaw to read arbitrary local files, perform Server-Side Request Forgery (SSRF) by making the server request arbitrary URLs, or cause a Denial of Service (DoS) through entity expansion attacks.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:8 | assertj-core | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | assertj-core-javadoc | All versions, will not be fixed |
| Red Hat:enterprise_linux:9 | log4j | All versions, will not be fixed |
| Red Hat:enterprise_linux:9 | log4j-jcl | All versions, will not be fixed |
| Red Hat:enterprise_linux:9 | log4j-slf4j | All versions, will not be fixed |
References
- https://access.redhat.com/security/cve/CVE-2026-24400
- https://bugzilla.redhat.com/show_bug.cgi?id=2433116
- https://www.cve.org/CVERecord?id=CVE-2026-24400
- https://nvd.nist.gov/vuln/detail/CVE-2026-24400
- https://cheatsheetseries.owasp.org/cheatsheets/XML_External_Entity_Prevention_Cheat_Sheet.html
- https://github.com/assertj/assertj/commit/85ca7eb6609bb179c043b85ae7d290523b1ba79a
- https://github.com/assertj/assertj/releases/tag/assertj-build-3.27.7
- https://github.com/assertj/assertj/security/advisories/GHSA-rqfh-9r24-8c9r