mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
Fix OTHER XML tag
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
If the syntax <code>${param}</code> is used in those statements, and <code>param</code> is a parameter of the annotated method, attackers can exploit this to tamper with the SQL statements or execute arbitrary SQL commands.</p>
|
||||
</overview>
|
||||
|
||||
<<recommendation>
|
||||
<recommendation>
|
||||
<p>
|
||||
When writing MyBatis mapping statements, use the syntax <code>#{xxx}</code> whenever possible. If the syntax <code>${xxx}</code> must be used, any parameters included in it should be sanitized to prevent SQL injection attacks.
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user