Critical, CVSS 9.3MavenAmendedPublished
http4s-scala-xml has an XML External Entity (XXE) processing issue
CVE-2026-61741 · GHSA-cjx3-73hr-rpw7
- Affected
- Maven org.http4s:http4s-scala-xml_3 <= 0.24.0; >= 1.0.0-M1, <= 1.0.0-M38.1
- Fixed in
- 0.24.11.0.0-M39· Vendor fix available
- Issue
- http4s-scala-xml provides EntityDecoder[F, scala.xml.Elem] instances that parse XML message bodies. 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. Impact Any service that derives an XML EntityDecoder from this library and parses attacker-controlled input is affected. Patches The default SAXParserFactory is now hardened: - secure processing is enabled - DOCTYPE declarations are disallowed - external general/parameter…
Recommended action: Upgrade to 1.0.0-M39 (pre-release) or 0.24.1 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.