Home / http4k / http4k / CVE-2024-55875
CVE-2024-55875: is it exploited, and which versions of http4k are affected and fixed?
CVE-2024-55875 is an information disclosure vulnerability in http4k. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:09 UTC). Affected: org.http4k:http4k-format-xml before 6.50.0.0 (GitHub advisory GHSA-7mj5-hjjj-8rgw). Fixed in 6.50.0.0 (GitHub advisory GHSA-7mj5-hjjj-8rgw). Severity: Critical (9.8, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:24 UTC.
What is CVE-2024-55875?
http4k has a potential XXE (XML External Entity Injection) vulnerability
http4k is a functional toolkit for Kotlin HTTP applications. Prior to version 6.50.0.0, there is a potential XXE (XML External Entity Injection) vulnerability when http4k handling malicious XML contents within requests, which might allow attackers to read local sensitive information on server, trigger Server-side Request Forgery and even execute code under some circumstances. The original fix shipped in v5.41.0.0 / v4.50.0.0 closed the documented external-entity attack class (SSRF, local-file disclosure, code execution) by setting `ACCESS_EXTERNAL_DTD=""`, `ACCESS_EXTERNAL_SCHEMA=""`, and `isExpandEntityReferences=false` on the default `DocumentBuilderFactory`. A residual gap remained: the parser still accepted documents containing `<!DOCTYPE>` declarations even though external entity resolution was blocked. This left open billion-laughs-style internal entity expansion DoS attacks against any application using `Body.xml()` or `Document.asXmlDocument()` on untrusted XML. v6.50.0.0 closes this residual by adding `disallow-doctype-decl=true` and `FEATURE_SECURE_PROCESSING=true` to `defaultXmlParsingConfig`. Any document containing a `<!DOCTYPE>` is now rejected at parse time.
From the CVE record by GitHub_M, last updated June 9, 2026, 10:42 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| http4k | http4k | < 6.50.0.0 |
As the CVE record by GitHub_M states it, last updated June 9, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.http4k:http4k-format-xml | < 6.50.0.0 | 6.50.0.0 | GHSA-7mj5-hjjj-8rgw |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated June 9, 2026. Summary: http4k has a potential XXE (XML External Entity Injection) vulnerability.
How severe is CVE-2024-55875?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-55875 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: total (CISA ADP, December 13, 2024)
- EPSS
- 2.19% probability of exploitation activity in the next 30 days, percentile 83.0 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
- CWE-611 Improper Restriction of XML External Entity Reference
- CWE-918 Server-Side Request Forgery
Where are the vendor advisories and references?
- https://github.com/http4k/http4k/security/advisories/GHSA-7mj5-hjjj-8rgw x_refsource_CONFIRM
- https://github.com/http4k/http4k/commit/35297adc6d6aca4951d50d8cdf17ff87a8b19fbc x_refsource_MISC
- https://github.com/http4k/http4k/blob/25696dff2d90206cc1da42f42a1a8dbcdbcdf18c/core/format/xml/src/main/kotlin/org/http4k/format/Xml.kt#L42-L46 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- December 11, 2024
- Published
- December 12, 2024, 18:56 UTC
- CVE record updated
- June 9, 2026, 10:42 UTC by GitHub_M
- NVD
- Deferred, last modified June 17, 2026, 08:11 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:24 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect http4k?
- Nov 2, 2026CVE-2026-120317 http4k: data authenticity not verified
- Nov 2, 2026CVE-2026-120316 http4k: path traversal (reading or writing files outside the intended folder)
- Sep 27, 2026CVE-2026-100834 http4k: authentication bypass by replay
- Sep 27, 2026CVE-2026-100725 http4k: information disclosure
- Sep 27, 2026CVE-2026-100724 http4k: HTTP request smuggling
- Sep 18, 2026CVE-2026-54147 http4k: broken or risky cryptography
- Sep 18, 2026CVE-2026-54148 http4k: authentication bypass by replay
- Sep 14, 2026CVE-2026-53659 http4k: improper Handling of Highly Compressed Data (Data Amplification)
Questions about CVE-2024-55875
Is CVE-2024-55875 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:09 UTC. FIRST's EPSS gives it a 2.19% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of http4k are affected by CVE-2024-55875?
org.http4k:http4k-format-xml before 6.50.0.0, per the GitHub advisory GHSA-7mj5-hjjj-8rgw. The tables above give every range the sources list.
Which version fixes CVE-2024-55875?
6.50.0.0, per the GitHub advisory GHSA-7mj5-hjjj-8rgw. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-55875?
Critical (9.8, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2024-55875?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.