<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Clojure Q&amp;A - Recent questions tagged xxe</title>
<link>https://ask.clojure.org/index.php/tag/xxe</link>
<description></description>
<item>
<title>data.xml : disable support-dtd by default</title>
<link>https://ask.clojure.org/index.php/13523/data-xml-disable-support-dtd-by-default</link>
<description>&lt;p&gt;As defined by OWASP recommendations [1], both &lt;code&gt;supporting-external-entities&lt;/code&gt; and &lt;code&gt;support-dtd&lt;/code&gt; should be disabled by default.&lt;br&gt;
While it's the case for the former (but not released as part of the 0.0.8 version), it's not the case for the latter.&lt;/p&gt;
&lt;p&gt;Can we consider having both defined to &lt;code&gt;false&lt;/code&gt; as part of a stable version?&lt;/p&gt;
&lt;p&gt;[1] : &lt;a rel=&quot;nofollow&quot; href=&quot;https://cheatsheetseries.owasp.org/cheatsheets/XML_External_Entity_Prevention_Cheat_Sheet.html#xmlinputfactory-a-stax-parser&quot;&gt;https://cheatsheetseries.owasp.org/cheatsheets/XML_External_Entity_Prevention_Cheat_Sheet.html#xmlinputfactory-a-stax-parser&lt;/a&gt;.&lt;/p&gt;
</description>
<category>data.xml</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/13523/data-xml-disable-support-dtd-by-default</guid>
<pubDate>Mon, 04 Dec 2023 19:14:34 +0000</pubDate>
</item>
</channel>
</rss>