diff --git a/app/views/results/metadata/_vulnerability.html.erb b/app/views/results/metadata/_vulnerability.html.erb
index fae23e42..a48d65f9 100644
--- a/app/views/results/metadata/_vulnerability.html.erb
+++ b/app/views/results/metadata/_vulnerability.html.erb
@@ -300,7 +300,7 @@
<%= vect["method"] %> |
<% if vect["note"].present? %>
- "> |
+ ">
<% end %>
<% end %>
diff --git a/app/views/task_types/_options_fields.html.erb b/app/views/task_types/_options_fields.html.erb
index 67f8d0e7..8f6f4356 100644
--- a/app/views/task_types/_options_fields.html.erb
+++ b/app/views/task_types/_options_fields.html.erb
@@ -4,7 +4,7 @@
<%= label_tag do %>
<%= value[:name] + (value[:required] == true ? "*" : "") %>
<% if value[:description].present? %>
-
+
<% end %>
<% end %>
diff --git a/app/views/tasks/index.html.erb b/app/views/tasks/index.html.erb
index 911db5b7..2825875b 100644
--- a/app/views/tasks/index.html.erb
+++ b/app/views/tasks/index.html.erb
@@ -42,7 +42,7 @@ $(function(){
<% status_class = "classification-" + status_class if status_class.present? %>
<% if task.metadata.try(:[], "_last_status") %>
<% message = task.metadata.try(:[], "_last_status").to_s %>
- <% message += "
" + task.metadata.try(:[], "_last_status_message").to_s if task.metadata.try(:[], "_last_status_message")%>
+ <% message += "
" + h(task.metadata.try(:[], "_last_status_message").to_s) if task.metadata.try(:[], "_last_status_message") %>
<% message += "
" + link_to("Event #{task.metadata.try(:[], "_last_status_event")}", event_path(task.metadata.try(:[], "_last_status_event"))) if task.metadata.try(:[], "_last_status_event") %>
<% message += "
Last run: " + time_ago_in_words(DateTime.parse(task.metadata.try(:[], "_last_run").to_s)) + " ago" if task.metadata.try(:[], "_last_run")%>
<% message += "
Last success: " + time_ago_in_words(DateTime.parse(task.metadata.try(:[], "_last_successful_run").to_s)) + " ago" if task.metadata.try(:[], "_last_successful_run")%>
diff --git a/lib/scumblr_tasks/security/python_analyzer.rb b/lib/scumblr_tasks/security/python_analyzer.rb
index 2ca893e5..5c4c91ba 100644
--- a/lib/scumblr_tasks/security/python_analyzer.rb
+++ b/lib/scumblr_tasks/security/python_analyzer.rb
@@ -45,8 +45,8 @@ def self.options
default: :High,
choices: [:High, :Medium, :Low]
},
- :severity_level => {name: "Confidence Level",
- description: "Confidence level to include in results",
+ :severity_level => {name: "Severity Level",
+ description: "Severity level to include in results",
required: false,
type: :choice,
default: :High,