CVE-2026-61741 Details
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.
A vulnerability allowing XML External Entity (XXE) attacks has been identified in the http4s-scala-xml library, specifically in versions through 0.24.0 and 1.0.0-M38.1. The issue arises because the library's EntityDecoder instances for XML elements used a SAXParserFactory obtained from the default factory method, without any security enhancements. This lack of configuration left applications open to XXE attacks when parsing untrusted XML. Exploitation could lead to the disclosure of local files, server-side request forgery (SSRF) against internal resources, or denial of service through entity expansion.
Users can upgrade to http4s-scala-xml versions 0.24.1 or 1.0.0-M39, where the vulnerability has been patched. Alternatively, before upgrading, the default SAXParserFactory can be overridden with a hardened version that disables DOCTYPE declarations and external entity processing.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 24, 2026CISA-ADP
Assessed Sep 29, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/http4s/http4s-scala-xml/security/advisories/GHSA-cjx3-73hr-rpw7 | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-611 | Improper Restriction of XML External Entity Reference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| http4s-scala-xml | <= 0.24.0 (semver) >= 1.0.0-M1, <= 1.0.0-M38.1 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 29, 2026 | CVE Modified | CISA-ADP |
| Sep 24, 2026 | New CVE Received | [email protected] |
Volerion