maven package report

Is org.http4s:http4s-scala-xml_2.12 safe?

1 known vulnerability, worst severity CRITICAL.

// reach

0 direct dependencies

none carry a known advisory

    0 packages depend on it

    an advisory here reaches each of them

      Create a free accountfor every dependency path, dependent and what to upgrade
      // ai model usage

      Tracked for PyPI packages. HuggingFace models declare Python dependencies, so maven packages are not covered.


      cvss
      0.0
      critical

      severity band, no base score published

      epss
      not scored

      chance of exploitation in 30 days

      xyz score
      0.0
      medium

      CyberXYZ composite out of 10

      fig. 01 — GHSA-cjx3-73hr-rpw7, the advisory selected below

      // 1 advisories

      GHSA-cjx3-73hr-rpw7

      CRITICALCVE-2026-61741

      http4s-scala-xml provides EntityDecoder[F, scala.xml.Elem] instances that parse XML message bodies. 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.
      // impact

      Any service that derives an XML EntityDecoder from this library and parses attacker-controlled input is affected.

      // patches

      The default SAXParserFactory is now hardened:

      • secure processing is enabled
      • DOCTYPE declarations are disallowed
      • external general/parameter entities and external DTD loading are disabled
      • DTD URIs are not resolved
      • XInclude is disabled.

      These defaults match scala.xml.XMLLoader's defaults since 2.0.0.

      // workarounds

      Before upgrading, override ElemInstances#saxFactory with a hardened factory.

        val secured = new ElemInstances {
          override protected val saxFactory = {
            val f = javax.xml.parsers.SAXParserFactory.newInstance
            f.setFeature("http://apache.org/xml/features/disallow-doctype-decl", true)
            // etc.
            f
          }
        }
        import secured._
      // cvss v3.1 vector

      CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L

      Attack vector
      Network
      Attack complexity
      Low
      Privileges required
      None
      User interaction
      None
      Scope
      Changed
      Confidentiality
      High
      Integrity
      None
      Availability
      Low

      Checked 2026-09-25 at 16:49 UTC. The most recent advisory here was published 2026-09-24. Updated continuously from NVD, GHSA, OSV and CNA feeds.

      Think a verdict here is wrong? Tell us — we respond within 2 business days.
      Is org.http4s:http4s-scala-xml_2.12 safe? maven package security report | CyberXYZ