Skip to content

Commit

Permalink
Fix for CVE-2024-32887
Browse files Browse the repository at this point in the history
  • Loading branch information
mperham committed Apr 26, 2024
1 parent 371884e commit 30786e0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions Changes.md
Expand Up @@ -2,6 +2,12 @@

[Sidekiq Changes](https://github.com/sidekiq/sidekiq/blob/main/Changes.md) | [Sidekiq Pro Changes](https://github.com/sidekiq/sidekiq/blob/main/Pro-Changes.md) | [Sidekiq Enterprise Changes](https://github.com/sidekiq/sidekiq/blob/main/Ent-Changes.md)

7.2.4
----------

- Fix XSS in metrics filtering introduced in 7.2.0, CVE-2024-32887
Thanks to @UmerAdeemCheema for the security report.

7.2.3
----------

Expand Down
2 changes: 1 addition & 1 deletion lib/sidekiq/version.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true

module Sidekiq
VERSION = "7.2.3"
VERSION = "7.2.4"
MAJOR = 7
end
2 changes: 1 addition & 1 deletion web/views/metrics.erb
Expand Up @@ -12,7 +12,7 @@
<form id="metrics-form" class="form-inline" action="<%= root_path %>filter/metrics" method="post">
<%= csrf_tag %>
<label for="substr"><%= t('Filter') %></label>
<input id="class-filter" class="form-control" type="text" name="substr" placeholder="<%= t('Name') %>" value="<%= params[:substr] %>">
<input id="class-filter" class="form-control" type="text" name="substr" placeholder="<%= t('Name') %>" value="<%= h params[:substr] %>">
<select id="period-selector" class="form-control" name="period">
<% @periods.each_key do |code| %>
<% if code == @period %>
Expand Down

0 comments on commit 30786e0

Please sign in to comment.