Skip to content

Commit

Permalink
Add security severity + fix qhelp
Browse files Browse the repository at this point in the history
  • Loading branch information
joefarebrother committed Nov 21, 2024
1 parent 1a0a392 commit 9ef3cd1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion python/ql/src/Security/CWE-074/TemplateInjection.qhelp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</p>
</recommendation>
<example>
<p>In the following case <code>template<code> is used to generate a Jinja2 template string. This can lead to remote code execution. </p>
<p>In the following case, <code>template</code> is used to generate a Jinja2 template string. This can lead to remote code execution. </p>
<sample src="examples/JinjaBad.py" />

<p>The following is an example of a string that could be used to cause remote code execution when interpreted as a template:</p>
Expand Down
1 change: 1 addition & 0 deletions python/ql/src/Security/CWE-074/TemplateInjection.ql
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* @kind path-problem
* @problem.severity error
* @precision high
* @security-severity 9.3
* @id py/template-injection
* @tags security
* external/cwe/cwe-074
Expand Down

0 comments on commit 9ef3cd1

Please sign in to comment.