XXE in Http4s Http4s-Scala-Xml
CVE-2026-61741
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.
Vulnerability class: XXE (XML External Entity)
Published .
CVSS v3 metric
CVSS v3 base score 9.3 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
- Http4s Http4s-Scala-Xml — versions < 0.24.1, >= 1.0.0-M1, < 1.0.0-M39
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2026-61741?
- CVE-2026-61741 is a critical-severity vulnerability in Http4s Http4s-Scala-Xml, classified under Improper Restriction of XML External Entity Reference (XXE). CVSS score: 9.3/10. Published 2026-09-24.
- How severe is CVE-2026-61741?
- Critical severity. CVSS v3 base score is 9.3 out of 10.