mirror of
https://github.com/github/codeql.git
synced 2025-12-21 11:16:30 +01:00
Update XsltInjection.qhelp
Made a few minor tweaks during editorial review
This commit is contained in:
@@ -4,12 +4,12 @@
|
|||||||
<qhelp>
|
<qhelp>
|
||||||
<overview>
|
<overview>
|
||||||
<p>XSLT (Extensible Stylesheet Language Transformations) is a language for transforming XML
|
<p>XSLT (Extensible Stylesheet Language Transformations) is a language for transforming XML
|
||||||
documents into other XML documents or other formats. Processing of unvalidated XSLT stylesheet can
|
documents into other XML documents or other formats. Processing unvalidated XSLT stylesheets can
|
||||||
let attacker to read arbitrary files from the filesystem or to execute arbitrary code.</p>
|
allow attackers to read arbitrary files from the filesystem or to execute arbitrary code.</p>
|
||||||
</overview>
|
</overview>
|
||||||
|
|
||||||
<recommendation>
|
<recommendation>
|
||||||
<p>The general recommendation is to not process untrusted XSLT stylesheets. If user provided
|
<p>The general recommendation is to not process untrusted XSLT stylesheets. If user-provided
|
||||||
stylesheets must be processed, enable the secure processing mode.</p>
|
stylesheets must be processed, enable the secure processing mode.</p>
|
||||||
</recommendation>
|
</recommendation>
|
||||||
|
|
||||||
@@ -17,7 +17,7 @@ stylesheets must be processed, enable the secure processing mode.</p>
|
|||||||
<p>In the following examples, the code accepts an XSLT stylesheet from the user and processes it.
|
<p>In the following examples, the code accepts an XSLT stylesheet from the user and processes it.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>In the first example, the user provided XSLT stylesheet is parsed and processed.</p>
|
<p>In the first example, the user-provided XSLT stylesheet is parsed and processed.</p>
|
||||||
|
|
||||||
<p>In the second example, secure processing mode is enabled.</p>
|
<p>In the second example, secure processing mode is enabled.</p>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user