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