You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that the logic behind identifying the comment blocks is considering the comment end on the 2nd line as being the close of the comment block that started on line 1.
[HIGH] SQL Injection finding on line 5 of fixinator_testcase.cfm high confidence
Variables within a SQL statement must be passed as parameters to the database engine, for example by using cfqueryparam
/fixinator_testcase.cfm:5
5: EXEC StoredProc '#Param1#', '#Param2#'
Possible Fixes:
1) cfqueryparam: <cfqueryparam value="#Param2#">
2) cfqueryparam varchar: <cfqueryparam value="#Param2#" cfsqltype="cf_sql_varchar">
If the secondary comment block is moved down below the query, there is no issue flagged.
The text was updated successfully, but these errors were encountered:
It appears that the logic behind identifying the comment blocks is considering the comment end on the 2nd line as being the close of the comment block that started on line 1.
If the secondary comment block is moved down below the query, there is no issue flagged.
The text was updated successfully, but these errors were encountered: