-
-
Save Jineeshak/fb266a5c26d5e24dad891eb18f893af7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
metadata: | |
language: v1-beta | |
name: "XSS SUS" | |
description: "Identify parameters that may be vulnerable to Cross-Site Scripting (XSS)." | |
author: "@Jineesh AK" | |
tags: "XSS" | |
given request then | |
if {latest.request.url} matches "\b(\?|&)(name|text|message|comment|description|content|search|query|title|email|username|user|input|output|data|keyword|q|s|p|value|id|item|key|info|details|address|location|number|code|lang|language|subject|body|param|parameter|tag|post|review|feedback|status|note|blog|article)=\b" then | |
report issue: | |
severity: info | |
confidence: tentative | |
detail: "Parameter detected that may be vulnerable to Cross-Site Scripting (XSS)." | |
remediation: "Validate and sanitize input for the detected parameter to prevent XSS vulnerabilities." | |
end if |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment