Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d9a6e2 commit a665d5dCopy full SHA for a665d5d
1 file changed
java/ql/src/Security/CWE/CWE-918/RequestForgery.qhelp
@@ -13,9 +13,11 @@ may be tricked into making a request and interacting with an attacker-controlled
13
</overview>
14
<recommendation>
15
16
-<p>To guard against SSRF attacks, it is advisable to avoid putting user input
+<p>To guard against SSRF attacks, you should avoid putting user-provided input
17
directly into a request URL. Instead, maintain a list of authorized
18
-URLs on the server; then choose from that list based on the user input provided.</p>
+URLs on the server; then choose from that list based on the input provided.
19
+Alternatively, ensure requests constructed from user input are limited to
20
+a particular host or more restrictive URL prefix.</p>
21
22
</recommendation>
23
<example>
0 commit comments