CVE Explorer
CVE-2026-24400
AssertJ 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
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"assertj","vendor":"assertj","versions":[{"status":"affected","version":">= 1.4.0, < 3.27.7"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:657293510fce7133e8bc61c23e0b5fc4ee09722d0926402da503122448af89f8 · sha256:abc92187151e0725… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"LOCAL","baseScore":8.2,"baseSeverity":"HIGH","privilegesRequired":"LOW","subAvailabilityImpact":"NONE","subConfidentialityImpact":"HIGH","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:L/SC:H/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"LOW","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"NONE"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:657293510fce7133e8bc61c23e0b5fc4ee09722d0926402da503122448af89f8 · sha256:abc92187151e0725… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-611","description":"CWE-611: Improper Restriction of XML External Entity Reference","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:657293510fce7133e8bc61c23e0b5fc4ee09722d0926402da503122448af89f8 · sha256:abc92187151e0725… · /containers/cna/problemTypes/0/descriptions/0
Source references
4 source assertions{"name":"https://cheatsheetseries.owasp.org/cheatsheets/XML_External_Entity_Prevention_Cheat_Sheet.html","tags":["x_refsource_MISC"],"url":"https://cheatsheetseries.owasp.org/cheatsheets/XML_External_Entity_Prevention_Cheat_Sheet.html"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:657293510fce7133e8bc61c23e0b5fc4ee09722d0926402da503122448af89f8 · sha256:abc92187151e0725… · /containers/cna/references/2
{"name":"https://github.com/assertj/assertj/commit/85ca7eb6609bb179c043b85ae7d290523b1ba79a","tags":["x_refsource_MISC"],"url":"https://github.com/assertj/assertj/commit/85ca7eb6609bb179c043b85ae7d290523b1ba79a"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:657293510fce7133e8bc61c23e0b5fc4ee09722d0926402da503122448af89f8 · sha256:abc92187151e0725… · /containers/cna/references/1
{"name":"https://github.com/assertj/assertj/releases/tag/assertj-build-3.27.7","tags":["x_refsource_MISC"],"url":"https://github.com/assertj/assertj/releases/tag/assertj-build-3.27.7"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:657293510fce7133e8bc61c23e0b5fc4ee09722d0926402da503122448af89f8 · sha256:abc92187151e0725… · /containers/cna/references/3
{"name":"https://github.com/assertj/assertj/security/advisories/GHSA-rqfh-9r24-8c9r","tags":["x_refsource_CONFIRM"],"url":"https://github.com/assertj/assertj/security/advisories/GHSA-rqfh-9r24-8c9r"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:657293510fce7133e8bc61c23e0b5fc4ee09722d0926402da503122448af89f8 · sha256:abc92187151e0725… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.