Live threats

All CVEs / http4s

CVE-2026-61741http4s-scala-xml

XML External Entity (XXE) Injection in http4s-scala-xml

Critical 9.3 No auth needed

Priority
71
CVSS 3.1
9.3
EPSS
—
Auth required
No
Published
Sep 24, 2026
Updated
Sep 30, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-611
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L

What happens

http4s-scala-xml provides entity decoders that parse XML message bodies without security configuration. An attacker can send malicious XML to disclose local files, perform SSRF attacks against internal resources, or cause denial of service through entity expansion.

Show the original NVD text

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.

Source text, unmodified. NVD.

What to do

Patch available · fixed versions: 0.24.1, 1.0.0-M39

Update http4s-scala-xml to version 0.24.1 or 1.0.0-M39 or later depending on your development branch.

Vendor advisory · github.com ↗

  1. Apply the vendor's security update for http4s-scala-xml.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.http4s:http4s-scala-xml_2.12 < 0.24.1 0.24.1 —
Maven org.http4s:http4s-scala-xml_2.13 < 0.24.1 0.24.1 —
Maven org.http4s:http4s-scala-xml_2.13 ≥ 1.0.0-M1 < 1.0.0-M39 1.0.0-M39 —
Maven org.http4s:http4s-scala-xml_3 < 0.24.1 0.24.1 —
Maven org.http4s:http4s-scala-xml_3 ≥ 1.0.0-M1 < 1.0.0-M39 1.0.0-M39 —

Per OSV / GitHub Advisories (GHSA-cjx3-73hr-rpw7). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.