Permissive origin in postMessage detected.

Description

Using "*" (any) as the target origin of a postMessage call allows third-parties to read the message.

Remediations

❌ Avoid using "*" as the target origin:

window.postMessage(message, '*')

✅ Specify the origin for your target application:

window.postMessage(message, 'https://myapp.example.com')

Associated CWE

Ready to take the next step? Join the Bearer Cloud waitlist.