CVE-2026-61741
http4s-scala-xml has an XML External Entity (XXE) processing issue
Also known as GHSA-cjx3-73hr-rpw7
Mitigation
- Upgrade org.http4s:http4s-scala-xml_2.12 to 0.24.1 or later.
- Upgrade org.http4s:http4s-scala-xml_2.13 to one of 0.24.1, 1.0.0-M39 (or later in the same release line).
- Upgrade org.http4s:http4s-scala-xml_3 to one of 0.24.1, 1.0.0-M39 (or later in the same release line).
Who should check
- Projects that depend on Maven package org.http4s:http4s-scala-xml_2.12 (< 0.24.1)
- Projects that depend on Maven package org.http4s:http4s-scala-xml_2.13 (< 0.24.1)
- Projects that depend on Maven package org.http4s:http4s-scala-xml_3 (< 0.24.1)
- Anyone running http4s-scala-xml < 0.24.1; >= 1.0.0-M1, < 1.0.0-M39
Vulnerability facts
- Affected
- org.http4s:http4s-scala-xml_2.12 < 0.24.1; org.http4s:http4s-scala-xml_2.13 < 0.24.1; org.http4s:http4s-scala-xml_3 < 0.24.1
- Fixed in
- 0.24.1, 1.0.0-M39
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.3 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Changed (impact reaches other components)
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: Low
- EPSS
- 0.47% chance of exploitation in 30 days (percentile 33, 2026-11-26)
- CWE
- CWE-611
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.http4s:http4s-scala-xml_2.12 | < 0.24.1 | 0.24.1 | osv |
| Maven org.http4s:http4s-scala-xml_2.13 | < 0.24.1 | 0.24.1, 1.0.0-M39 | osv |
| Maven org.http4s:http4s-scala-xml_3 | < 0.24.1 | 0.24.1, 1.0.0-M39 | osv |
| http4s-scala-xml | < 0.24.1; >= 1.0.0-M1, < 1.0.0-M39 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-61741. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-61741.md Affected: org.http4s:http4s-scala-xml_2.12 < 0.24.1; org.http4s:http4s-scala-xml_2.13 < 0.24.1; org.http4s:http4s-scala-xml_3 < 0.24.1 Fixed in: 0.24.1, 1.0.0-M39 Steps: 1. Search this machine and project for org.http4s:http4s-scala-xml_2.12 (Maven), org.http4s:http4s-scala-xml_2.13 (Maven), org.http4s:http4s-scala-xml_3 (Maven), http4s-scala-xml: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2026-61741 being exploited?
There is no confirmed exploitation: CVE-2026-61741 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.47% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-61741?
Critical: CVSS 9.3 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-61741?
org.http4s:http4s-scala-xml_2.12 < 0.24.1; org.http4s:http4s-scala-xml_2.13 < 0.24.1; org.http4s:http4s-scala-xml_3 < 0.24.1.
Is there a fix for CVE-2026-61741?
Yes. Fixed in 0.24.1, 1.0.0-M39. Upgrade org.http4s:http4s-scala-xml_2.12 to 0.24.1 or later. Upgrade org.http4s:http4s-scala-xml_2.13 to one of 0.24.1, 1.0.0-M39 (or later in the same release line). Upgrade org.http4s:http4s-scala-xml_3 to one of 0.24.1, 1.0.0-M39 (or later in the same release line).
How do I check if I'm affected by CVE-2026-61741?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.