Skip to content

Commit

Permalink
Fix regex for XPath Injection
Browse files Browse the repository at this point in the history
  • Loading branch information
msm1992 committed Oct 31, 2024
1 parent a91a4ad commit 9361e4d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ We recommend the following patterns for denying requests.
<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>
Expand Down

0 comments on commit 9361e4d

Please sign in to comment.