id: google-clients1-csp-bypass info: name: Content-Security-Policy Bypass - Google Clients1 author: renniepak,DhiyaneshDK severity: medium reference: - https://github.com/renniepak/CSPBypass/blob/main/data.tsv metadata: verified: true tags: xss,csp-bypass,google-clients1 flow: http(1) && headless(1) http: - method: GET path: - "{{BaseURL}}" matchers: - type: word part: header words: - "Content-Security-Policy" - "google.com" condition: and internal: true headless: - steps: - action: navigate args: url: "{{BaseURL}}" - action: waitdialog name: google_clients1_csp_xss args: max-duration: 5s payloads: injection: - '' fuzzing: - part: query type: replace mode: single fuzz: - "{{url_encode(injection)}}" matchers: - type: dsl dsl: - "google_clients1_csp_xss == true" # digest: 4a0a00473045022100a03a138776b35e41c533a77cc7b25fbe5c7380769ef6d6259b41c315b4881cac022020f5c1b66b95d54de7054887fcce984acfbee4d2efd8bfba953f4cc4e572caef:922c64590222798bb761d5b6d8e72950