diff --git a/QA.js b/QA.js new file mode 100644 index 00000000..36b549da --- /dev/null +++ b/QA.js @@ -0,0 +1,4 @@ +//QA file change +const QA = { + "url": "https://github.com/endpointlabs/govwa" +} diff --git a/vulnerability/xss/xss.go b/vulnerability/xss/xss.go index c77fe06d..44c14c6c 100644 --- a/vulnerability/xss/xss.go +++ b/vulnerability/xss/xss.go @@ -57,6 +57,9 @@ func xss1Handler(w http.ResponseWriter, r *http.Request, _ httprouter.Params){ }else if vulnDetails == ""{ data["value"] = template.HTML(value) data["term"] = template.HTML(notFound) //vulnerable function + }else if vulnDetails == "cenk"{ + data["value"] = template.HTML(value) + data["term"] = template.HTML(notFound) //vulnerable function }else{ vuln := fmt.Sprintf("%s",term) data["value"] = template.HTML(value) @@ -113,4 +116,4 @@ func removeScriptTag(text string)string{ filter := regexp.MustCompile(".*") output := filter.ReplaceAllString(text,"") return output -} \ No newline at end of file +}