CVE-2026-24400
assertj assertj
Patch priority
This weekHigh severity or noticeable probability of exploitation.
- CVSS
- 9.1
- Severity
- 9.1
- EPSS
- 0.6 %
- Percentile
- 49
- Actively exploited
- not known
The traffic light combines CVSS (severity), EPSS (exploitation probability, FIRST) and CISA's KEV catalog. It does not replace your own assessment. More in the glossary
What do I need to do?
in plain wordsWho is affected?
Only those who run assertj assertj. The vendor name tells you whether the product is in use at your place.
How dangerous is it?
- Attackable over the network – including from the internet if the device or service is reachable there.
- No login is needed for it.
- Nobody has to click anything.
What to do?
- Update within the next few days.
- The vendor’s advisories (linked below) name the fixed version.
- If there is no update yet: keep the device or service off the internet (no port forwarding) and watch for the vendor’s announcement.
Generated automatically from the CVSS vector, KEV and EPSS – does not replace the vendor’s information. Terms explained
Description
NVDAssertJ provides Fluent testing assertions for Java and the Java Virtual Machine (JVM). Starting in version 1.4.0 and prior to version 3.27.7, 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. An application is vulnerable only when it uses untrusted XML input with either `isXmlEqualTo(CharSequence)` from `org.assertj.core.api.AbstractCharSequenceAssert` or `xmlPrettyFormat(String)` from `org.assertj.core.util.xml.XmlStringPrettyFormatter`. If untrusted XML input is processed by tone of these methods, an attacker couldnread arbitrary local files via `file://` URIs (e.g., `/etc/passwd`, application configuration files); perform Server-Side Request Forgery (SSRF) via HTTP/HTTPS URIs, and/or cause Denial of Service via "Billion Laughs" entity expansion attacks. `isXmlEqualTo(CharSequence)` has been deprecated in favor of XMLUnit in version 3.18.0 and will be removed in version 4.0. Users of affected versions should, in order of preference: replace `isXmlEqualTo(CharSequence)` with XMLUnit, upgrade to version 3.27.7, or avoid using `isXmlEqualTo(CharSequence)` or `XmlStringPrettyFormatter` with untrusted input. `XmlStringPrettyFormatter` has historically been considered a utility for `isXmlEqualTo(CharSequence)` rather than a feature for AssertJ users, so it is deprecated in version 3.27.7 and removed in version 4.0, with no replacement.
- Vendor / product
- assertj assertj
- Published
- 27.01.2026
- Modified
- 17.06.2026
- CWE
- CWE-611
- Status
- Analyzed
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Vendor updates
11- Red Hat: RHSA-2026:69459 – RHSA-2026:69459 security update 21.09.2026 · Patch day
- Red Hat: RHSA-2026:69106 – RHSA-2026:69106 assertj security update 21.09.2026 · Patch day
- Red Hat: RHSA-2026:60215 – RHSA-2026:60215 assertj security update 26.08.2026 · Patch day
- Red Hat: RHSA-2026:59372 – RHSA-2026:59372 assertj security update 25.08.2026 · Patch day
- Red Hat: RHSA-2026:58957 – RHSA-2026:58957 assertj security update 24.08.2026 · Patch day
- Red Hat: RHSA-2026:58949 – RHSA-2026:58949 assertj security update 24.08.2026 · Patch day
- Red Hat: RHSA-2026:58956 – RHSA-2026:58956 assertj security update 24.08.2026 · Patch day
- Red Hat: RHSA-2026:37390 – RHSA-2026:37390 security update 09.07.2026 · Patch day
- Red Hat: RHSA-2026:25089 – RHSA-2026:25089 security update 10.06.2026 · Patch day
- SUSE: SUSE-SU-2026:20604-1 – Security update for assertj-core 05.03.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:0344-1 – Security update for assertj-core 30.01.2026 · HIGH · Patch day
Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.