{"id":"CVE-2026-61741","published":"2026-09-24T17:48:09Z","modified":"2026-09-29T03:02:07Z","title":"http4s-scala-xml has an XML External Entity (XXE) processing issue","vendor":"http4s","product":"http4s-scala-xml","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.3,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00294,"percentile":0.22558,"provenance":"source"},"cwes":[{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference"}],"references":[{"url":"https://github.com/http4s/http4s-scala-xml/security/advisories/GHSA-cjx3-73hr-rpw7","tags":["x_refsource_CONFIRM"]}],"priority":{"score":11.0,"factors":[{"name":"EPSS percentile","points":4.51},{"name":"CVSS severity","points":6.51}]},"vendorSlug":"http4s","affectedVersions":[{"vendor":"http4s","product":"http4s-scala-xml","versions":["< 0.24.1",">= 1.0.0-M1, < 1.0.0-M39"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-09-29T03:01:50.360279Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.http4s:http4s-scala-xml_2.12","vulnerableRanges":["<0.24.1"],"patched":["0.24.1"],"from":["GHSA-cjx3-73hr-rpw7"],"provenance":"source"},{"ecosystem":"Maven","package":"org.http4s:http4s-scala-xml_2.13","vulnerableRanges":["<0.24.1",">=1.0.0-M1, <1.0.0-M39"],"patched":["0.24.1","1.0.0-M39"],"from":["GHSA-cjx3-73hr-rpw7"],"provenance":"source"},{"ecosystem":"Maven","package":"org.http4s:http4s-scala-xml_3","vulnerableRanges":["<0.24.1",">=1.0.0-M1, <1.0.0-M39"],"patched":["0.24.1","1.0.0-M39"],"from":["GHSA-cjx3-73hr-rpw7"],"provenance":"source"}],"summary":{"text":"The http4s-scala-xml component of the http4s project provides XML message body decoders that parse incoming documents with a SAX parser left at JDK defaults, so it does not restrict DOCTYPE declarations or external entities and DTDs. An attacker who can send an XML request to an application using these decoders, with no authentication or user interaction required, can read local files readable by the service process, trigger server-side requests to internal resources, or cause denial of service through entity expansion.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:53:07Z"},"euvd":{"id":"EUVD-2026-86332","exploited":false,"provenance":"source"}}