Description
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.
Published: 2026-09-24
Score: 9.3 Critical
EPSS: n/a
KEV: No
Impact: Information Disclosure and SSRF
Action: Immediate Patch
AI Analysis

Impact

The vulnerable component, http4s‑scala‑xml, previously instantiated a SAXParser with default settings that resolve DOCTYPE declarations and external entities. This flaw enables untrusted XML payloads to trigger XML External Entity (XXE) attacks, allowing an attacker to read local files visible to the service process, perform server‑side request forgery against internal resources, or cause denial of service through entity expansion. The weakness maps to CWE‑611 and can compromise confidentiality, integrity, and availability.

Affected Systems

Affected products include http4s:http4s-scala-xml. Versions prior to 0.24.1 and 1.0.0‑M39 are vulnerable. Unsupported or older releases lacking the patch do not mitigate the issue.

Risk and Exploitability

The CVSS score of 9.3 indicates critical severity. The EPSS is not available and the vulnerability is not listed in CISA KEV. The likely attack vector is application‑level: an attacker sends a crafted XML request to a system utilizing the vulnerable decoder. Successful exploitation requires only exposure of untrusted XML; no additional privileges are needed. Once executed, the attacker can disclose sensitive files, tunnel traffic to internal hosts, or overwhelm the service with large entity expansions.

Generated by OpenCVE AI on September 25, 2026 at 05:42 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade http4s‑scala‑xml to version 0.24.1 or newer 1.0.0‑M39 to apply the parser security fix.
  • If patching cannot be performed immediately, reconfigure the XML parser to disallow DOCTYPE, external entities, and external DTDs.
  • Audit for any remaining unpatched XXE parsing code and conduct penetration testing focused on XML inputs.

Generated by OpenCVE AI on September 25, 2026 at 05:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-cjx3-73hr-rpw7 http4s-scala-xml has an XML External Entity (XXE) processing issue
History

Thu, 24 Sep 2026 18:00:00 +0000

Type Values Removed Values Added
Description 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.
Title http4s-scala-xml has an XML External Entity (XXE) processing issue
Weaknesses CWE-611
References
Metrics cvssV3_1

{'score': 9.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-24T17:48:09.628Z

Reserved: 2026-07-10T18:59:00.047Z

Link: CVE-2026-61741

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-24T18:17:16.013

Modified: 2026-09-24T18:17:16.013

Link: CVE-2026-61741

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-25T05:45:17Z

Weaknesses
  • CWE-611

    Improper Restriction of XML External Entity Reference