2021-10-23 18:04:49 +00:00
|
|
|
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
|
2021-11-01 09:24:51 +00:00
|
|
|
tags: xss
|
2021-10-23 18:04:49 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- '{{BaseURL}}'
|
|
|
|
|
|
|
|
matchers:
|
2021-10-26 18:18:28 +00:00
|
|
|
- type: regex
|
|
|
|
regex:
|
|
|
|
- postMessage\([a-zA-Z]+,["']\*["']\)
|