CVE-2024-55875

CRITICAL

http4k-format-xml 5.0.0.0-5.41.0.0 - XML External Entity Injection

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2024-55875. PoCs published by JAckLosingHeart.

AI-analyzed exploit summary This repository contains a README referencing CVE-2024-55875, which pertains to a vulnerability in http4k. The README provides a link to the official advisory but lacks exploit code or technical details.

Description

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.

Exploits (1)

nomisec WRITEUP 8 stars
by JAckLosingHeart · poc
https://github.com/JAckLosingHeart/CVE-2024-55875

This repository contains a README referencing CVE-2024-55875, which pertains to a vulnerability in http4k. The README provides a link to the official advisory but lacks exploit code or technical details.

Classification
Writeup 80%
Attack Type
Other
Complexity
Trivial
Reliability
Theoretical
Target: http4k (version not specified)
No auth needed
Prerequisites: access to the advisory link
devstral-2 · analyzed Feb 16, 2026 Full analysis →

Scores

CVSS v3 9.8
EPSS 0.0805
EPSS Percentile 92.3%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact total

Details

CWE
CWE-200 CWE-611 CWE-918
Status published
Products (3)
http4k/http4k < 5.41.0.0
http4k/http4k < 6.50.0.0
org.http4k/http4k-format-xml 0 - 6.50.0.0Maven
Published Dec 12, 2024
Tracked Since Feb 18, 2026