<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:webfeeds="http://webfeeds.org/rss/1.0"><channel><title>Cpe:2.3:a:http4s:http4s_scala_xml:*:*:*:*:*:*:*:* - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/cpes/cpe2.3ahttp4shttp4s_scala_xml/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Thu, 24 Sep 2026 20:04:02 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/cpes/cpe2.3ahttp4shttp4s_scala_xml/feed.xml" rel="self" type="application/rss+xml"/><image><url>https://feed.craftedsignal.io/favicon-32x32.png</url><title>CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/</link><width>32</width><height>32</height></image><webfeeds:icon>https://feed.craftedsignal.io/favicon.svg</webfeeds:icon><item><title>XXE Vulnerability in http4s-scala-xml</title><link>https://feed.craftedsignal.io/briefs/2026-09-http4s-xxe/</link><pubDate>Thu, 24 Sep 2026 20:04:02 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-09-http4s-xxe/</guid><description>The http4s-scala-xml library is vulnerable to XML External Entity (XXE) attacks due to improper configuration of the SAXParserFactory, allowing unauthenticated attackers to perform SSRF or local file disclosure.</description><content:encoded><![CDATA[<p>The http4s-scala-xml library (versions &lt;= 0.24.0 and 1.0.0-M1 through 1.0.0-M38.1) contains a critical XML External Entity (XXE) vulnerability identified as CVE-2026-61741. The issue stems from the use of an unhardened <code>javax.xml.parsers.SAXParserFactory</code> within the library's <code>EntityDecoder</code>. Because the parser is initialized without explicit security constraints, it defaults to processing DOCTYPE declarations, external general/parameter entities, and DTDs.</p>
<p>An unauthenticated remote attacker can exploit this by submitting malformed XML payloads to an application leveraging these decoders. If successfully exploited, this allows the attacker to read arbitrary local files accessible to the service, conduct server-side request forgery (SSRF) against internal services, or trigger a denial-of-service condition via excessive entity expansion. This vulnerability affects any Scala application utilizing the library for processing untrusted XML inputs.</p>
<h2 id="impact">Impact</h2>
<p>Successful exploitation allows for the exfiltration of sensitive local files from the application server, unauthorized interaction with internal network resources (SSRF), and system instability through resource exhaustion. This impacts any environment using http4s-scala-xml to process user-supplied XML data.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Upgrade to a non-vulnerable version of http4s-scala-xml immediately.</li>
<li>If an upgrade is not immediately feasible, override the <code>ElemInstances#saxFactory</code> with a hardened configuration that explicitly disables DTD loading and external entity processing using the <code>javax.xml.parsers.SAXParserFactory</code> feature flags (e.g., <code>http://apache.org/xml/features/disallow-doctype-decl</code>).</li>
<li>Implement input validation for any XML endpoints to detect and reject payloads containing <code>DOCTYPE</code> declarations.</li>
<li>Audit application logs for abnormal outgoing network traffic from the web service process, which may indicate attempted SSRF exploitation via CVE-2026-61741.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>vulnerability</category><category>web-application</category><category>xxe</category><category>cve-2026-61741</category></item></channel></rss>