Merge pull request #2986 from projectdiscovery/wildcard-postmessage

Added Wildcard postMessage detection
patch-1
Prince Chaddha 2021-11-01 15:46:00 +05:30 committed by GitHub
commit a229a2e822
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 18 additions and 0 deletions

View File

@ -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]+,["']\*["']\)