Merge pull request #2986 from projectdiscovery/wildcard-postmessage
Added Wildcard postMessage detectionpatch-1
commit
a229a2e822
|
@ -0,0 +1,18 @@
|
||||||
|
id: wildcard-postmessage
|
||||||
|
|
||||||
|
info:
|
||||||
|
name: Wildcard postMessage detection
|
||||||
|
author: pdteam
|
||||||
|
severity: info
|
||||||
|
reference: https://jlajara.gitlab.io/web/2020/06/12/Dom_XSS_PostMessage.html
|
||||||
|
tags: xss
|
||||||
|
|
||||||
|
requests:
|
||||||
|
- method: GET
|
||||||
|
path:
|
||||||
|
- '{{BaseURL}}'
|
||||||
|
|
||||||
|
matchers:
|
||||||
|
- type: regex
|
||||||
|
regex:
|
||||||
|
- postMessage\([a-zA-Z]+,["']\*["']\)
|
Loading…
Reference in New Issue