Skip to content

Commit

Permalink
Merge pull request #8608 from msm1992/3.2.0-7960
Browse files Browse the repository at this point in the history
[3.2.0] Fix regex in gateway threat protection doc
  • Loading branch information
npamudika authored Nov 12, 2024
2 parents 6185438 + 844c6fd commit adeb975
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,19 @@ We recommend the following patterns for blacklisting.
<tr class="even">
<td>XPath Injection</td>
<td>
<code>.*'.*|.*or.*|.*1=1.*|.*ALTER.*|.*ALTER TABLE.*|.*ALTER VIEW.*|</code><br />
<code>.*'.*|(?\u003C![\w\d])or(?![\w\d])|.*1=1.*|.*ALTER.*|.*ALTER TABLE.*|.*ALTER VIEW.*|</code><br />
<code>.*CREATE DATABASE.*|.*CREATE PROCEDURE.*|.*CREATE SCHEMA.*|</code><br />
<code>.*create table.*|.*CREATE VIEW.*|.*DELETE.*|.*DROP DATABASE.*|</code><br />
<code>.*DROP PROCEDURE.*|.*DROP.*|.*SELECT.*</code>
</td>
</tr>
<tr class="odd">
<td>Javascript Exception</td>
<td><p><code>&lt;\s*script\b[^&gt;]*&gt;[^&lt;]+&lt;\s*/\s*script\s*&gt;</code></p></td>
<td>JavaScript Injection</td>
<td><p>
```
&lt;\s*script\b[^&gt;]*&gt;[^&lt;]+&lt;\s*/\s*script\s*&gt;
```
</p></td>
</tr>
<tr class="even">
<td>XPath Expanded Syntax Injection</td>
Expand Down

0 comments on commit adeb975

Please sign in to comment.