Skip to content

Commit 1d01959

Browse files
committed
Add Xalan Java security documentation
1 parent 5138cc2 commit 1d01959

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

stylebook/sources/xalan/index.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,4 +367,14 @@ in the Xalan-Java distribution..</p>
367367
<p>For the licences that apply to the JARs other than xalan.jar, see the licenses and
368368
associated readme files in the root directory of this distribution.</p>
369369
</s2>
370+
371+
<s2 title="Security">
372+
<p>Xerces and Xalan do what the XML specifications require by default. In some cases, this may not be appropriate behavior when working with untrusted input: the <jump href="https://apache.github.io/xalan-c/secureweb.html">XML Security Overview</jump> mentions some potential risks. There are multiple methods for blocking access to external entities and for disallowing DOCTYPE declarations, and it is up to the downstream user of Xalan to block/reject these constructs where appropriate.</p>
373+
<p>Specific to Xalan Java: some components, such as 'Transformer', will use your system's infrastructure for components such as the 'XMLReader' implementation. This means to use Xalan Java safely with untrusted input, you must also make sure those components are configured securely.</p>
374+
375+
<p>If you think you have found a security issue in Apache Xalan, please follow the <jump href="https://www.apache.org/security/#reporting-a-vulnerability">reporting guidelines</jump></p>
376+
377+
</s2>
378+
379+
370380
</s1>

0 commit comments

Comments
 (0)