Skip to content

Commit

Permalink
chore: Release 4.6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
rgrove committed Mar 20, 2018
1 parent 01629a1 commit 5f66eb1
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Sanitize History

## 4.6.3 (2018-03-19)

* Fixed an HTML injection vulnerability that could allow XSS.

When Sanitize <= 4.6.2 is used in combination with libxml2 >= 2.9.2, a
specially crafted HTML fragment can cause libxml2 to generate improperly
escaped output, allowing non-whitelisted attributes to be used on whitelisted
elements.

Sanitize now performs additional escaping on affected attributes to prevent
this.

Many thanks to the Shopify Application Security Team for responsibly reporting
this issue.

## 4.6.2 (2018-03-19)

* Reduced string allocations to optimize memory usage. [@janklimo - #175][175]
Expand Down
2 changes: 1 addition & 1 deletion lib/sanitize/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# encoding: utf-8

class Sanitize
VERSION = '4.6.2'
VERSION = '4.6.3'
end

0 comments on commit 5f66eb1

Please sign in to comment.