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