Revisions of rubygem-rails-html-sanitizer
buildservice-autocommit
accepted
request 1108558
from
Stephan Kulow (coolo)
(revision 27)
baserev update by copy to link target
Stephan Kulow (coolo)
accepted
request 1108306
from
Paolo Perego (pperego)
(revision 26)
- Updated to version 1.6.0 * Dependencies have been updated: - Loofah `~>2.21` and Nokogiri `~>1.14` for HTML5 parser support - As a result, required Ruby version is now `>= 2.7.0` Security updates will continue to be made on the `1.5.x` release branch as long as Rails 6.1 (which supports Ruby 2.5) is still in security support. *Mike Dalessio* * HTML5 standards-compliant sanitizers are now available on platforms supported by Nokogiri::HTML5. These are available as: - `Rails::HTML5::FullSanitizer` - `Rails::HTML5::LinkSanitizer` - `Rails::HTML5::SafeListSanitizer` And a new "vendor" is provided at `Rails::HTML5::Sanitizer` that can be used in a future version of Rails. Note that for symmetry `Rails::HTML4::Sanitizer` is also added, though its behavior is identical to the vendor class methods on `Rails::HTML::Sanitizer`. Users may call `Rails::HTML::Sanitizer.best_supported_vendor` to get back the HTML5 vendor if it's supported, else the legacy HTML4 vendor. *Mike Dalessio* * Module namespaces have changed, but backwards compatibility is provided by aliases. The library defines three additional modules: - `Rails::HTML` for general functionality (replacing `Rails::Html`) - `Rails::HTML4` containing sanitizers that parse content as HTML4 - `Rails::HTML5` containing sanitizers that parse content as HTML5 The following aliases are maintained for backwards compatibility: - `Rails::Html` points to `Rails::HTML` - `Rails::HTML::FullSanitizer` points to `Rails::HTML4::FullSanitizer` - `Rails::HTML::LinkSanitizer` points to `Rails::HTML4::LinkSanitizer` - `Rails::HTML::SafeListSanitizer` points to `Rails::HTML4::SafeListSanitizer` *Mike Dalessio* * `LinkSanitizer` always returns UTF-8 encoded strings. `SafeListSanitizer` and `FullSanitizer` already ensured this encoding. *Mike Dalessio* * `SafeListSanitizer` allows `time` tag and `lang` attribute by default. *Mike Dalessio* * The constant `Rails::Html::XPATHS_TO_REMOVE` has been removed. It's not necessary with the existing sanitizers, and should have been a private constant all along anyway. *Mike Dalessio* - Removed comparison against a very old ruby code no longer maintained - Updated description in spec file
buildservice-autocommit
accepted
request 1104046
from
Dan Čermák (dancermak)
(revision 25)
baserev update by copy to link target
Dan Čermák (dancermak)
accepted
request 1102388
from
Paolo Perego (pperego)
(revision 24)
Added bugzilla references to fixed CVEs
buildservice-autocommit
accepted
request 1067311
from
Dan Čermák (dancermak)
(revision 23)
baserev update by copy to link target
Dan Čermák (dancermak)
accepted
request 1067195
from
Paolo Perego (pperego)
(revision 22)
- updated to version 1.5.0 * SafeListSanitizer, PermitScrubber, and TargetScrubber now all support pruning of unsafe tags. By default, unsafe tags are still stripped, but this behavior can be changed to prune the elementand its children from the document by passing prune: true to any of these classes' constructors. @seyerian ## 1.4.4 / 2022-12-13 * Address inefficient regular expression complexity with certain configurations of Rails::Html::Sanitizer. Fixes CVE-2022-23517. See GHSA-5x79-w82f-gw8w for more information. _Mike Dalessio_ * Address improper sanitization of data URIs. Fixes CVE-2022-23518 and #135. See GHSA-mcvf-2q2m-x72m for more information. _Mike Dalessio_ * Address possible XSS vulnerability with certain configurations of Rails::Html::Sanitizer. Fixes CVE-2022-23520. See GHSA-rrfc-7g8p-99q8 for more information. _Mike Dalessio_ * Address possible XSS vulnerability with certain configurations of Rails::Html::Sanitizer. Fixes CVE-2022-23519. See GHSA-9h9g-93gc-623h for more information. _Mike Dalessio_ - updated to version 1.4.3 * Address a possible XSS vulnerability with certain configurations of Rails::Html::Sanitizer. Prevent the combination of `select` and `style` as allowed tags in SafeListSanitizer. Fixes CVE-2022-32209 *Mike Dalessio* - updated to version 1.4.2 * Slightly improve performance. Assuming elements are more common than comments, make one less method call per node. *Mike Dalessio* ## 1.4.1 / 2021-08-18 * Fix regression in v1.4.0 that did not pass comment nodes to the scrubber. Some scrubbers will want to override the default behavior and allow comments, but v1.4.0 only passed through elements to the scrubber's `keep_node?` method. This change once again allows the scrubber to make the decision on comment nodes, but still skips other non-elements like processing instructions (see #115). *Mike Dalessio* ## 1.4.0 / 2021-08-18 * Processing Instructions are no longer allowed by Rails::Html::PermitScrubber Previously, a PI with a name (or "target") matching an allowed tag name was not scrubbed. There are no known security issues associated with these PIs, but similar to comments it's preferred to omit these nodes when possible from sanitized output. Fixes #115. *Mike Dalessio* - updated to version 1.3.0 * Address deprecations in Loofah 2.3.0. *Josh Goodall* - updated to version 1.2.0 * Remove needless `white_list_sanitizer` deprecation. By deprecating this, we were forcing Rails 5.2 to be updated or spew deprecations that users could do nothing about. That's pointless and I'm sorry for adding that! Now there's no deprecation warning and Rails 5.2 works out of the box, while Rails 6 can use the updated naming. *Kasper Timm Hansen* - updated to version 1.0.4 * CVE-2018-3741: XSS vulnerability see installed CHANGELOG.md fix bsc#1086598 - updated to version 1.0.3: * boo#963326: CVE-2015-7578: XSS vulnerability via attributes * boo#963327: CVE-2015-7579: XSS vulnerability * boo#963328: CVE-2015-7580: XSS via whitelist sanitizer - updated to version 1.0.2, no changelog - initial package (version 1.0.1)
buildservice-autocommit
accepted
request 982534
from
Manuel Schnitzer (mschnitzer)
(revision 21)
baserev update by copy to link target
Manuel Schnitzer (mschnitzer)
accepted
request 982515
from
Manuel Schnitzer (mschnitzer)
(revision 20)
update
Manuel Schnitzer (mschnitzer)
accepted
request 914120
from
Manuel Schnitzer (mschnitzer)
(revision 19)
update
buildservice-autocommit
accepted
request 747758
from
Manuel Schnitzer (mschnitzer)
(revision 18)
baserev update by copy to link target
Manuel Schnitzer (mschnitzer)
accepted
request 747753
from
Manuel Schnitzer (mschnitzer)
(revision 17)
update
buildservice-autocommit
accepted
request 723813
from
Manuel Schnitzer (mschnitzer)
(revision 16)
baserev update by copy to link target
Manuel Schnitzer (mschnitzer)
accepted
request 723807
from
Manuel Schnitzer (mschnitzer)
(revision 15)
update
buildservice-autocommit
accepted
request 593663
from
Björn Geuken (bgeuken)
(revision 14)
baserev update by copy to link target
Björn Geuken (bgeuken)
accepted
request 593606
from
Jordi Massaguer (jordimassaguerpla)
(revision 13)
review changelog
buildservice-autocommit
accepted
request 590611
from
Christian Bruckmayer (cbruckmayer)
(revision 12)
baserev update by copy to link target
Christian Bruckmayer (cbruckmayer)
accepted
request 590609
from
David Kang (david_kang)
(revision 10)
- updated to version 1.0.4 * CVE-2018-3741: XSS vulnerability
buildservice-autocommit
accepted
request 358686
from
Factory Maintainer (factory-maintainer)
(revision 9)
baserev update by copy to link target
Marcus Rueckert (darix)
accepted
request 356291
from
Andreas Stieger (AndreasStieger)
(revision 8)
add bugs and CVEs
Displaying revisions 1 - 20 of 27