CVE Catalog

CVE-2026-61741

CriticalCVSS 9.3
Published: Translated: NVD NIST

Summary

The http4s-scala-xml library in versions prior to 0.24.1 and 1.0.0-M39 uses a SAXParserFactory without security configuration to decode XML message bodies. With default JDK settings, the parser resolves DOCTYPE declarations, external entities, and external DTDs. Applications parsing untrusted XML are vulnerable to XXE, SSRF, and resource exhaustion attacks.

Risk Assessment

An attacker can read local files accessible to the service process, perform requests to internal network resources (SSRF), or cause denial of service. This can lead to data leakage and compromise of the internal network.

Recommendation

Update http4s-scala-xml to version 0.24.1 or 1.0.0-M39. Until then, disable external entity and DTD resolution in the XML parser.

Related vulnerabilities

Original NVD description (English source)

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 data from NVD (NIST) · CISA KEV · EPSS