File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
java/ql/src/Security/CWE/CWE-079 Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1010 </p >
1111
1212 <p >
13- For example, if your application's WebView allows for visitng web pages
14- which you do not trust, it is possible for an attacker to lead the user to
13+ For example, if your application's WebView allows for visiting web pages
14+ that you do not trust, it is possible for an attacker to lead the user to
1515 a page which loads malicious JavaScript.
1616 </p >
1717
1818 <p >
19- You can enable or disbale Javascript execution using
19+ You can enable or disable Javascript execution using
2020 the <code >setJavaScriptEnabled</code > method of the settings of a WebView.
2121 </p >
2222 </overview >
3030 </recommendation >
3131
3232 <example >
33- <p >In the following (bad) example, a WebView has JavaScript enabled in its settings. </p >
33+ <p >In the following (bad) example, a WebView has JavaScript enabled in its settings: </p >
3434
3535 <sample src =" WebSettingsEnableJavascript.java" />
3636
37- <p >In the following (good) example, a WebView explicitly disallows JavaScript execution. </p >
37+ <p >In the following (good) example, a WebView explicitly disallows JavaScript execution: </p >
3838
3939 <sample src =" WebSettingsDisableJavascript.java" />
4040
You can’t perform that action at this time.
0 commit comments