Skip to content

Commit

Permalink
Bump version and add explanation to HISTORY
Browse files Browse the repository at this point in the history
  • Loading branch information
Dawa Ometto committed Sep 30, 2018
1 parent 143e2d1 commit 053e45a
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,26 @@
Sanitize History
================================================================================

Version 2.1.1 (2018-30-09)
--------------------------

* [CVE-2018-3740][176]: Backported the fix for an HTML injection vulnerability that could allow
XSS from the `sanitize 4.x` line.

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.

[176]:https://github.com/rgrove/sanitize/issues/176
[187]:https://github.com/rgrove/sanitize/issues/187

Version 2.1.0 (2014-01-13)
--------------------------

Expand Down
2 changes: 1 addition & 1 deletion lib/sanitize/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
class Sanitize
VERSION = '2.1.0'
VERSION = '2.1.1'
end

0 comments on commit 053e45a

Please sign in to comment.