Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify endpoint decoding XML body
-
DeliveryCraft XML with external entity/DTD
-
ExploitSubmit request, decoder resolves entity
-
ExecutionRead local file or trigger SSRF/entity expansion
-
ImpactExfiltrate file contents or probe internal network
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A02:2025 - Security Misconfiguration
ASVS 5.0
V13 - Configuration XML external entity prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that an http4s application actually use the http4s-scala-xml |
| Impact | This is a classic, high-impact XXE (CWE-611) in the http4s-scala-xml |
| Exploit ScenarioDerived | An attacker sends an HTTP request with a crafted XML body containing a DOCTYPE with an external entity (e.g. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 24, 2026
XML External Entity (XXE) injection in http4s-scala-xml's EntityDecoder for scala.xml.Elem (all versions before 0.24.1 and 1.0.0-M39) allows unauthenticated remote attackers who can supply XML message bodies to disclose files readable by the service process, perform server-side request forgery (SSRF) against internal network resources, or trigger denial of service via entity expansion. The decoders obtain a javax.xml.parsers.SAXParserFactory through SAXParserFactory.newInstance without configuring secure-processing features, so JDK default behavior resolves DOCTYPE declarations, external general and parameter entities, and external DTDs. Vendor-released fixes are 0.24.1 and 1.0.0-M39; no public exploit code has been identified at time of analysis, and reachability depends on an application actually using these decoders against untrusted XML.
RemediationAI
Upgrade http4s-scala-xml to 0.24.1 or 1.0.0-M39, the vendor-released patched versions that configure the SAXParserFactory securely; see the advisory at https://github.com/http4s/http4s-scala-xml/security/advisories/GHSA-cjx3-73hr-rpw7 for the full release guidance. If an immediate upgrade is not possible, stop feeding untrusted XML into the scala.xml.Elem decoder - for example, reject or strip XML request bodies at the edge, switch the affected endpoints to a decoder that uses a hardened parser, or wrap parsing in a custom decoder that sets SAXParserFactory features such as http://apache.org/xml/features/disallow-doctype-decl to true, http://xml.org/sax/features/external-general-entities and http://xml.org/sax/features/external-parameter-entities to false, and XMLConstants.ACCESS_EXTERNAL_DTD / ACCESS_EXTERNAL_SCHEMA to empty strings; the trade-off is that legitimate XML documents relying on DTDs, named entities, or schema resolution will fail to parse. As defense in depth, run the service with a restricted filesystem read policy and block outbound network egress from the application process, which limits file disclosure and SSRF but does not prevent in-memory entity-expansion denial of service and can break unrelated integrations. There is no vendor-released patch other than the two fixed versions above, and no public exploit code was identified at time of analysis.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 5 packages in maven, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability is CWE-611 (Improper Restriction of XML External Entity Reference) in the http4s-scala-xml integration library, which supplies http4s EntityDecoder instances that parse request bodies into scala.xml.Elem. Because the decoder constructs its parser via SAXParserFactory.newInstance with no hardening, the underlying SAX parser inherits the JDK's default configuration, where DOCTYPE declarations are honored and external general entities, external parameter entities, and external DTD subsets are resolved. An attacker-controlled XML document can therefore define entities that reference local file URIs (file:///etc/passwd, application config, cloud metadata files) or remote URLs, causing content disclosure and outbound requests from the server, and can also nest entities to expand memory and CPU. The CVSS vector scores Scope as Changed (S:C) because the parser can reach resources beyond the vulnerable component - local filesystem and internal network services - with Confidentiality:High and Availability:Low. The CPE cpe:2.3:a:http4s:http4s-scala-xml:*:*:*:*:*:*:*:* reflects that all released versions in the affected range are potentially vulnerable; the advisory specifically pins the boundary at versions prior to 0.24.1 and 1.0.0-M39. True exploitability is application-dependent: services that do not use the scala.xml.Elem decoder on untrusted XML, or that run on JDKs with hardened SAXParserFactory defaults, are not reachable through this code path.
Know when Http4S gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L
Network-reachable unauthenticated XML parsing yields file disclosure (C:H) and SSRF crossing a trust boundary (S:C); entity-expansion gives limited DoS (A:L), no integrity impact.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
http4s-scala-xml provides EntityDecoder[F, scala.xml.Elem] instances that parse XML message bodies. Prior to versions 0.24.1 and 1.0.0-M39, these decoders used a javax.xml.parsers.SAXParserFactory obtained from SAXParserFactory.newInstance without any security configuration. With the JDK's default settings, the parser resolves DOCTYPE declarations, external general and parameter entities, and external DTDs.An application that uses these decoders to parse untrusted XML is vulnerable to XML External Entity (XXE) attacks. An attacker can craft a request that discloses local files readable by the service process, performs server-side request forgery (SSRF) against internal network resources, and/or causes denial of service through entity expansion. Versions 0.24.1 and 1.0.0-M39 fix the issue.
Technical POC Analysis
CWE-611: the vulnerable code is http4s-scala-xml's EntityDecoder[F, scala.xml.Elem] instances, specifically the default saxFactory in ElemInstances.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Latest POC
1 PoC candidate from github (unverified)
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
A critical XML parsing flaw in http4s-scala-xml, the Scala library many JVM services use to handle XML request bodies, could allow an outside party to read files on the server, use the server to reach internal systems that are not otherwise exposed, or knock the service offline with a single crafted message. Exposure is limited to services that actually feed untrusted XML into these decoders, and no public exploit code has been identified, so this is a high-priority hardening obligation rather than a fire drill. Vendor fixes are already published, making rapid upgrade the decisive control.
Apply vendor patch (0.24.1 or 1.0.0-M39). If immediate upgrade is not possible, disable DTD and external entity processing via JAXP secure-processing settings, reject DOCTYPE declarations in inbound XML at the edge, and restrict outbound egress from affected application tiers to limit file disclosure and SSRF.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
XML External Entity (XXE) attacks exploit XML parsers that process Document Type Definitions (DTDs) without proper restrictions.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Http4s client applications that keep a cookie jar can leak stored cookies — including session and authentication cookies
Http4s is a Scala interface for HTTP services. Rated medium severity (CVSS 6.3), this vulnerability is remotely exploita
Http4s is a Scala interface for HTTP services. Rated medium severity (CVSS 5.3), this vulnerability is remotely exploita
Request smuggling in the http4s Ember HTTP/1.1 parser lets an unauthenticated, remote attacker bypass front-end access c
Http4s is a minimal, idiomatic Scala interface for HTTP services. Rated critical severity (CVSS 9.1), this vulnerability
HTTP request smuggling in http4s Ember (all releases prior to 0.23.35 and 1.0.0-M47) lets an unauthenticated remote atta
Let me synthesize. CVE-2026-69205: http4s Ember HTTP parser request smuggling via Transfer-Encoding header case-sensiti
http4s is an open source scala interface for HTTP. Rated medium severity (CVSS 4.7), this vulnerability is remotely expl
A crafted WebSocket frame can pin a worker thread and exhaust memory in the http4s Scala HTTP library, causing denial of
Heap exhaustion in the http4s Ember backend (0.23.x before 0.23.35 and 1.0.0 milestones before 1.0.0-M47) allows a singl
Heap-exhaustion denial of service in the http4s DigestAuth server middleware: an inverted stale-nonce comparison in Nonc
Unbounded WebSocket fragment aggregation in http4s-blaze-server allows any client that completes a WebSocket handshake t
EUVD-2026-86332
GHSA-cjx3-73hr-rpw7
NVD
CVE.org
EPSS
Exploit-DB