mirror of
https://github.com/github/codeql.git
synced 2026-04-30 03:05:15 +02:00
Update javascript/ql/src/experimental/Security/CWE-020/PostMessageNoOriginCheck.qhelp
Co-authored-by: Esben Sparre Andreasen <esbena@github.com>
This commit is contained in:
committed by
GitHub
parent
ffc9a449ab
commit
c0271b1627
@@ -25,7 +25,7 @@ Always verify the sender's identity of incoming messages.
|
||||
<sample src="examples/postMessageWithInsufficientCheck.js" />
|
||||
|
||||
<p> In the third example, the `MessageEvent.origin` is properly checked against a trusted origin. </p>
|
||||
<sample src="examples/postMessageWithInsufficientCheck.js" />
|
||||
<sample src="examples/postMessageWithOriginCheck.js" />
|
||||
|
||||
</example>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user