SB2026040614 - XML external entity injection in AssertJ



SB2026040614 - XML external entity injection in AssertJ

Published: April 6, 2026

Security Bulletin ID SB2026040614
Severity
High
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact Denial of service

Breakdown by Severity

High 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 security vulnerability.


1) XML External Entity injection (CVE-ID: CVE-2026-24400)

The vulnerability allows a remote attacker to gain access to sensitive information.

The vulnerability exists due to `org.assertj.core.util.xml.XmlStringPrettyFormatter`: the `toXmlDocument(String)` method initializes `DocumentBuilderFactory` with default settings, without disabling DTDs or external entities. A remote attacker can pass a specially crafted XML code to the affected application and view contents of arbitrary files on the system or initiate requests to external systems.

Successful exploitation of the vulnerability may allow an attacker to view contents of arbitrary file on the server or perform network scanning of internal and external infrastructure.


Remediation

Install update from vendor's website.