You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Cross-window communication with unrestricted target origin", "When sending sensitive information to another window using `postMessage`, the origin of the target window should be restricted to avoid unintentional information leaks.", "error","[[""Sensitive data""|""relative:///iframe.js:3:15:3:45""]] is sent to another window without origin restriction.","/iframe.js", "5", "31", "9", "6"
This issue looks the same with #18652 but it should be fixed in 2.20.6, shouldn't it?
The text was updated successfully, but these errors were encountered:
Thanks for reporting this. The underlying issue here is that global variables are tracked less precisely than local variables, and the block statement turns t and r into local variables. We're the aware of the reduced precision for global variables.
Hi,
I am using CodeQL 2.20.6, there is the code:
Where CodeQL should give me a "Cross-window communication with unrestricted target origin" alert but it doesn't.
If I remove the first and last line comments, i.e., wrapping by a block as the code is:
It does give me one:
This issue looks the same with #18652 but it should be fixed in 2.20.6, shouldn't it?
The text was updated successfully, but these errors were encountered: