Update java/ql/src/experimental/Security/CWE/CWE-352/JsonpInjection.qhelp

Co-authored-by: Chris Smowton <smowton@github.com>
This commit is contained in:
haby0
2021-04-10 04:25:11 +08:00
committed by GitHub
parent 79c1374925
commit 157e4670fd

View File

@@ -17,7 +17,7 @@ When there is a cross-domain problem, this could lead to information leakage.</p
<p>The following examples show the bad case and the good case respectively. Bad cases, such as <code>bad1</code> to <code>bad8</code>,
will cause information leakage when there are cross-domain problems. In a good case, for example, in the <code>good1</code>
method and the <code>good2</code> method, using the <code>verifToken</code> method to do random <code>token</code> verification
solve the problem of information leakage caused by cross-domain.</p>
solves the problem of information leakage even in the presence of cross-domain access issues.</p>
<sample src="JsonpInjection.java" />