[ CVE-2026-61741 · Published 24 Sep 2026 ]
http4s-scala-xml has an XML External Entity (XXE) processing issue
[ Why it matters ]Priority signals
- Critical severity: CVSS 9.3
[ Description ]Official 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.
[ Fixes ]Fixes and patches
- org.http4s:http4s-scala-xml_2.12 0.24.1Fixed version · GitHub Advisories · maven package org.http4s:http4s-scala-xml_2.12: upgrade to 0.24.1 or later (affected <= 0.24.0)
- org.http4s:http4s-scala-xml_2.13 0.24.1Fixed version · GitHub Advisories · maven package org.http4s:http4s-scala-xml_2.13: upgrade to 0.24.1 or later (affected <= 0.24.0)
- org.http4s:http4s-scala-xml_2.13 1.0.0-M39Fixed version · GitHub Advisories · maven package org.http4s:http4s-scala-xml_2.13: upgrade to 1.0.0-M39 or later (affected >= 1.0.0-M1, <= 1.0.0-M38.1)
- org.http4s:http4s-scala-xml_3 0.24.1Fixed version · GitHub Advisories · maven package org.http4s:http4s-scala-xml_3: upgrade to 0.24.1 or later (affected <= 0.24.0)
- org.http4s:http4s-scala-xml_3 1.0.0-M39Fixed version · GitHub Advisories · maven package org.http4s:http4s-scala-xml_3: upgrade to 1.0.0-M39 or later (affected >= 1.0.0-M1, <= 1.0.0-M38.1)
[ Packages ]Affected open-source packages
- org.http4s:http4s-scala-xml_2.12 mavenAffected <= 0.24.0 · fixed in 0.24.1 · GHSA-cjx3-73hr-rpw7
- org.http4s:http4s-scala-xml_2.13 mavenAffected <= 0.24.0 · fixed in 0.24.1 · GHSA-cjx3-73hr-rpw7
- org.http4s:http4s-scala-xml_2.13 mavenAffected >= 1.0.0-M1, <= 1.0.0-M38.1 · fixed in 1.0.0-M39 · GHSA-cjx3-73hr-rpw7
- org.http4s:http4s-scala-xml_3 mavenAffected <= 0.24.0 · fixed in 0.24.1 · GHSA-cjx3-73hr-rpw7
- org.http4s:http4s-scala-xml_3 mavenAffected >= 1.0.0-M1, <= 1.0.0-M38.1 · fixed in 1.0.0-M39 · GHSA-cjx3-73hr-rpw7