Skip to content

Latest commit

 

History

History
3 lines (2 loc) · 335 Bytes

no-postmessage-star-origin.md

File metadata and controls

3 lines (2 loc) · 335 Bytes

Do not use * as target origin when sending data to other windows (no-postmessage-star-origin)

Always provide specific target origin, not * when sending data to other windows using postMessage to avoid data leakage outside of trust boundary.