Skip to content

Commit

Permalink
Fix regex for JavaScript Injection
Browse files Browse the repository at this point in the history
  • Loading branch information
msm1992 committed Oct 31, 2024
1 parent 2497639 commit a91a4ad
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,12 @@ We recommend the following patterns for denying requests.
</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 a91a4ad

Please sign in to comment.