Skip to content

Commit 020d31c

Browse files
author
Max Schaefer
committed
JavaScript: Fix inconisstency in TaintedPath.qhelp.
1 parent 80cfe07 commit 020d31c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/ql/src/Security/CWE-022/TaintedPath.qhelp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ However, a malicious user could enter a file name which is an absolute path, suc
4141
In the second example, it appears that the user is restricted to opening a file within the
4242
<code>"user"</code> home directory. However, a malicious user could enter a file name containing
4343
special characters. For example, the string <code>"../../etc/passwd"</code> will result in the code
44-
reading the file located at <code>"/home/[user]/../../etc/passwd"</code>, which is the system's
44+
reading the file located at <code>"/home/user/../../etc/passwd"</code>, which is the system's
4545
password file. This file would then be sent back to the user, giving them access to all the
4646
system's passwords.
4747
</p>

0 commit comments

Comments
 (0)