CVE-2026-61741
http4s-scala-xml provides `EntityDecoder[F, scala.xml.Elem]` instances that parse XML message bodies.
Archived. This CVE has left SubZer0's live 30-day window. Signals below are as of 2026-10-24; check the references for anything newer.
- Severity: Critical
- CVSS 9.3
- EPSS 0.29%
- P2 · This week
Why P2: this week.
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.
Affected products
- maven org.http4s:http4s-scala-xml_2.12 <= 0.24.0; first patched: 0.24.1
- maven org.http4s:http4s-scala-xml_2.13 <= 0.24.0; first patched: 0.24.1
- maven org.http4s:http4s-scala-xml_2.13 >= 1.0.0-M1, <= 1.0.0-M38.1; first patched: 1.0.0-M39
- maven org.http4s:http4s-scala-xml_3 <= 0.24.0; first patched: 0.24.1
- maven org.http4s:http4s-scala-xml_3 >= 1.0.0-M1, <= 1.0.0-M38.1; first patched: 1.0.0-M39
Weakness
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L
References
- NVD record NVD
- CVE Program record CVE Program
- Reference NVD
- GitHub security advisory GitHub
- Advisory reference GitHub
- Advisory reference GitHub
- Advisory reference GitHub