Skip to content

Commit

Permalink
refactor: fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
didroe committed May 20, 2024
1 parent 9a44c43 commit 2571724
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion rules/python/django/response_using_user_input.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ metadata:
description: "Unsanitized user input in output stream (XSS)"
remediation_message: |-
## Description
Cross-site scripting (XSS) vulnerabilities occur when unsanitized user input is included in web page content. This flaw can lead to malicious scripts being executed in the context of the user's browser, compromising the security of user data and interactions with the application.
## Remediations
Expand Down
4 changes: 2 additions & 2 deletions rules/python/shared/django/user_input.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ patterns:
detection: python_shared_django_user_input_request
scope: cursor
- variable: METHOD
values:
values:
- content_params
- GET
- POST
Expand All @@ -56,7 +56,7 @@ patterns:
- variable: REQUEST
detection: python_shared_django_user_input_request
scope: cursor
values:
values:
- content_params
- GET
- POST
Expand Down

0 comments on commit 2571724

Please sign in to comment.